Skip to content

Comments

Relocate RemoteClusterService methods only used in tests.#132037

Merged
JeremyDahlgren merged 15 commits intoelastic:mainfrom
JeremyDahlgren:tasks/rcs-rm-isCrossClusterSearchEnabled
Jul 30, 2025
Merged

Relocate RemoteClusterService methods only used in tests.#132037
JeremyDahlgren merged 15 commits intoelastic:mainfrom
JeremyDahlgren:tasks/rcs-rm-isCrossClusterSearchEnabled

Conversation

@JeremyDahlgren
Copy link
Contributor

This change eliminates or moves the following methods from RemoteClusterService:

  • isCrossClusterSearchEnabled()
  • isRemoteNodeConnected()
  • isRemoteClusterRegistered()

This is part of an effort to reduce the API surface area of RemoteClusterService and ease the analysis for making RemoteClusterService multi-project aware.

Relates: #131894, #131948

This change eliminates or moves the following methods from
RemoteClusterService:
  isCrossClusterSearchEnabled()
  isRemoteNodeConnected()
  isRemoteClusterRegistered()

This is part of an effort to reduce the API surface area
of RemoteClusterService.

Relates: elastic#131894, elastic#131948
@JeremyDahlgren JeremyDahlgren requested a review from ywangd July 28, 2025 18:30
@JeremyDahlgren JeremyDahlgren added >refactoring Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. :Distributed Coordination/Distributed v9.2.0 labels Jul 28, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@ywangd ywangd left a comment

Choose a reason for hiding this comment

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

LGTM

@JeremyDahlgren JeremyDahlgren merged commit 6f88c16 into elastic:main Jul 30, 2025
33 checks passed
afoucret pushed a commit to afoucret/elasticsearch that referenced this pull request Jul 31, 2025
…132037)

This change eliminates or moves the following methods from
RemoteClusterService:
  isCrossClusterSearchEnabled()
  isRemoteNodeConnected()
  isRemoteClusterRegistered()

This is part of an effort to reduce the API surface area
of RemoteClusterService.

Relates: elastic#131894, elastic#131948
smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Jul 31, 2025
…132037)

This change eliminates or moves the following methods from
RemoteClusterService:
  isCrossClusterSearchEnabled()
  isRemoteNodeConnected()
  isRemoteClusterRegistered()

This is part of an effort to reduce the API surface area
of RemoteClusterService.

Relates: elastic#131894, elastic#131948
@repantis repantis added :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. and removed :Distributed Coordination/Distributed labels Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >refactoring Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants