Skip to content

Reject RECONNECT_UNLESS_SKIP_UNAVAILABLE in CPS #132955

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JeremyDahlgren
Copy link
Contributor

DisconnectedStrategy.RECONNECT_UNLESS_SKIP_UNAVAILABLE is unsupported in CPS, as skip_unavailable itself is unsupported in CPS. This change adds a check in RemoteClusterService.getRemoteClusterClient() rejecting RECONNECT_UNLESS_SKIP_UNAVAILABLE if stateless is enabled and adds a unit test case for it. This PR is a split from work initially done in #132478.

Resolves: ES-12610

DisconnectedStrategy.RECONNECT_UNLESS_SKIP_UNAVAILABLE is unsupported in CPS,
as skip_unavailable itself is unsupported in CPS.  This change adds a check
in RemoteClusterService.getRemoteClusterClient() rejecting
RECONNECT_UNLESS_SKIP_UNAVAILABLE if stateless is enabled and adds a unit
test case for it.

Resolves: ES-12610
@JeremyDahlgren JeremyDahlgren added >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team :Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. v9.2.0 labels Aug 14, 2025
@JeremyDahlgren JeremyDahlgren requested a review from ywangd August 15, 2025 15:07
@JeremyDahlgren JeremyDahlgren marked this pull request as ready for review August 15, 2025 15:07
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants