Skip to content

Use EndpointStates() for DSE also and not the filtered getAllEndpoints() - #816

Merged
burmanm merged 2 commits into
masterfrom
change_endpoint_state_dse
Oct 20, 2026
Merged

burmanm merged 2 commits into
masterfrom
change_endpoint_state_dse

Conversation

@burmanm

@burmanm burmanm commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Fixes #815

@emerkle826 emerkle826 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks fine, but I guess the getEndpoints test didn't catch this...

The readiness probe only checks CQL over the unix socket, so the native
transport on 9042 may not be listening yet when the test connects,
especially with DSE Search enabled. Retry building the session for up to
60 seconds instead of failing on the first AllNodesFailedException.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@burmanm
burmanm merged commit 3d24534 into master Oct 20, 2026
128 of 129 checks passed
@burmanm
burmanm deleted the change_endpoint_state_dse branch October 20, 2026 14:42
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.

DSE 6.8 and 6.9 have different endpointstates logic than Cassandra/HCD

2 participants