-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GCE Discovery] Correcly handle large zones with 500 or more instances #83785
Conversation
404b466
to
5e9c25b
Compare
Thanks for the PR @cdmbr. Looks like you're still actively working on it so I've marked it as a draft for now. Please ping when it's ready for review. The following command will enable CI on your branch: @elasticsearchmachine ok to test |
thanks for the return @DaveCTurner ! I was just doing some lint fixes (forgot to run spotless 😅), but it seems that it is all set. I'm marking it as ready for review. Question: when it merges, will it be back-ported for all previous versions ? |
Pinging @elastic/es-distributed (Team:Distributed) |
plugins/discovery-gce/src/main/java/org/elasticsearch/cloud/gce/GceInstancesServiceImpl.java
Outdated
Show resolved
Hide resolved
plugins/discovery-gce/src/main/java/org/elasticsearch/cloud/gce/GceInstancesServiceImpl.java
Outdated
Show resolved
Hide resolved
@elasticmachine run elasticsearch-ci/packaging-tests-windows-sample |
.../compute/v1/projects/nodeswithpagination/zones/europe-west1-b/instances?pageToken=next-token
Outdated
Show resolved
Hide resolved
@cdmbr Thank you very much for your contribution! The PR looks conceptually good, I've left a couple of minor comments.
Yes, it's possible to backport it to the 8.1, 8.0 and 7.17 branches, but, alas, not further. |
b171215
to
1091b89
Compare
plugins/discovery-gce/src/test/java/org/elasticsearch/discovery/gce/GceDiscoveryTests.java
Show resolved
Hide resolved
@cdmbr Thanks for the contribution, it looks good, I've left a comment around the test that I think it should be addressed. |
96e7f7e
to
24ca40f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elastic#83785) Discovery gce plugin has some issues while running in large pools of vms instances. This pr attempts to solve it. Closes elastic#83783
elastic#83785) Discovery gce plugin has some issues while running in large pools of vms instances. This pr attempts to solve it. Closes elastic#83783
…nstances (elastic#83785) Backports the following commits to 7.17: - [GCE Discovery] Correcly handle large zones with 500 or more instances (elastic#83785)
@cdmbr Thank you very much for contributing to Elasticsearch! |
…ijun/elasticsearch into fix-none-tsdb-index-dimension-tests * 'fix-none-tsdb-index-dimension-tests' of github.com:weizijun/elasticsearch: (37 commits) [docs] Mention JDK 17 in the Contributing docs (elastic#84018) Fix GeoIpDownloader startup during rolling upgrade (elastic#84000) Script: Fields API for Dense Vector (elastic#83550) Move InferenceConfigUpdate under VersionedNamedWriteable (elastic#84022) [ML] Fix license feature test cleanup (elastic#84020) Replace deprecated api in artifact transforms (elastic#84015) QL: Add leniency option to SQL CLI (elastic#83795) [Stack Monitoring] add kibana_stats version alias to -mb template (elastic#83930) Optimize spliterator for ImmutableOpenMap (elastic#83899) Feature usage actions for archive (elastic#83931) Use latch to speedup multi feature migration test (elastic#84007) Make action names available in NodeClient (elastic#83919) [DOCS] Re-add HTTP proxy setings from elastic#82737 (elastic#84001) Add CI matrix configuration for snapshot BWC versions (elastic#83990) Update YAML Rest tests to check for product header on all responses (elastic#83290) TSDB: Add time series aggs cancellation (elastic#83492) [DOCS] Fix percolate query headings (elastic#83988) [DOCS] Move tip for percolate query example (elastic#83972) Simplify LocalExporter cleaner function to fix failing tests (elastic#83812) [GCE Discovery] Correcly handle large zones with 500 or more instances (elastic#83785) ...
discovery gce plugin has some issues while running in large pools of vms instances.
this pr attempts to solve it.
closes #83783