Skip to content
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

Make EC2 Discovery Cache Empty Seed Hosts List #50607

Merged

Conversation

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Jan 3, 2020

Follow up to #50550. Cache empty nodes lists (fetchDynamicNodes will return an empty list in case of failure) now that the plugin properly retries requests to AWS EC2 APIs.

Note: I'd suggest adding tests for the exception handling once #50605 is in and we can add them cleanly by using a mocked REST APi instead of adding more actual mocking of AWS SDK classes for this.

Follow up to elastic#50550. Cache empty nodes lists (`fetchDynamicNodes` will return an empty list in case of failure)
now that the plugin properly retries requests to AWS EC2 APIs.
@original-brownbear original-brownbear added >non-issue :Distributed/Discovery-Plugins Anything related to our integration plugins with EC2, GCP and Azure v8.0.0 v7.6.0 labels Jan 3, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Discovery-Plugins)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I think we should mark this as a >bug.

@original-brownbear
Copy link
Member Author

Thanks David!

@original-brownbear original-brownbear merged commit 51799dc into elastic:master Jan 3, 2020
@original-brownbear original-brownbear deleted the 50550-follow-up branch January 3, 2020 19:46
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Jan 3, 2020
Follow up to elastic#50550. Cache empty nodes lists (`fetchDynamicNodes` will return an empty list in case of failure)
now that the plugin properly retries requests to AWS EC2 APIs.
original-brownbear added a commit that referenced this pull request Jan 3, 2020
Follow up to #50550. Cache empty nodes lists (`fetchDynamicNodes` will return an empty list in case of failure)
now that the plugin properly retries requests to AWS EC2 APIs.
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
Follow up to elastic#50550. Cache empty nodes lists (`fetchDynamicNodes` will return an empty list in case of failure)
now that the plugin properly retries requests to AWS EC2 APIs.
@original-brownbear original-brownbear restored the 50550-follow-up branch August 6, 2020 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Discovery-Plugins Anything related to our integration plugins with EC2, GCP and Azure v7.6.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants