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

Skip adding new nodes that aren't ready yet #72

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Conversation

JoshMock
Copy link
Member

When nodes are just added to a cluster, they may not have an http object yet. Skipping over those ensures the hosts list only contains nodes that can actually take a connection.

Should help resolve elastic/elasticsearch-js#1230.

@JoshMock JoshMock merged commit c1ae86f into main Aug 31, 2023
16 checks passed
@JoshMock JoshMock deleted the skip-new-nodes branch August 31, 2023 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BaseConnectionPool TypeError on 'http' ('publish_address' of undefined)
2 participants