Skip to content

Conversation

@JeremyDahlgren
Copy link
Contributor

This method is only used in unit tests.
In an effort to reduce the API surface area and ease the analysis for making RemoteClusterService multi-project aware, this change refactors the test code to use other existing methods to achieve the same functionality.

Relates: ES-11576, #131894

This method is only used in unit tests.
In an effort to reduce the API surface area and ease the analysis for
making RemoteClusterService multi-project aware, this change refactors
the test code to use other existing methods to achieve the same
functionality.

Relates: ES-11576
@JeremyDahlgren JeremyDahlgren requested a review from ywangd July 25, 2025 22:02
@JeremyDahlgren JeremyDahlgren added :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. >refactoring Team:Distributed Coordination Meta label for Distributed Coordination team v9.2.0 labels Jul 25, 2025
@ywangd
Copy link
Member

ywangd commented Jul 28, 2025

This looks good to me. Do you plan to add more to it since it is marked as draft?

@JeremyDahlgren JeremyDahlgren marked this pull request as ready for review July 28, 2025 13:21
@elasticsearchmachine elasticsearchmachine added Team:Distributed Indexing Meta label for Distributed Indexing team and removed Team:Distributed Coordination Meta label for Distributed Coordination team labels Jul 28, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing)

@JeremyDahlgren
Copy link
Contributor Author

This looks good to me. Do you plan to add more to it since it is marked as draft?

Just those changes in this one, I changed it to ready for review, thanks Yang!

JeremyDahlgren added a commit to JeremyDahlgren/elasticsearch that referenced this pull request Jul 28, 2025
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
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 6fe2e86 into elastic:main Jul 29, 2025
33 checks passed
szybia added a commit to szybia/elasticsearch that referenced this pull request Jul 29, 2025
…-tracking

* upstream/main: (26 commits)
  Add release notes for v9.1.0 release (elastic#131953)
  Unmute multi_node generative tests (elastic#132021)
  Avoid re-enqueueing merge tasks (elastic#132020)
  Fix file entitlements for shared data dir (elastic#131748)
  ES|QL brute force l2_norm vector function (elastic#132025)
  Make ES|QL SAMPLE not a pipeline breaker (elastic#132014)
  Speed up tail computation in MemorySegmentES91OSQVectorsScorer (elastic#132001)
  Remove deprecated usages in `TransportPutFollowAction` (elastic#132038)
  Simulate impact of shard movement using shard-level write load (elastic#131406)
  Remove RemoteClusterService.getConnections() method (elastic#131948)
  Fix off by one in ValuesBytesRefAggregator (elastic#132032)
  Use unicode strings in data generation by default (elastic#132028)
  Adding index.refresh_interval as a data stream setting (elastic#131482)
  [ES|QL] Add more Min/MaxOverTime CSV tests (elastic#131070)
  Restrict remote ENRICH after FORK (elastic#131945)
  Fix decoding of non-ascii field names in ignored source (elastic#132018)
  [docs] Use centrally maintained version variables (elastic#131939)
  Configurable Inference timeout during Query time (elastic#131551)
  ESQL: Allow pruning columns added by InlineJoin (elastic#131204)
  ESQL: Fail `profile` on text response formats (elastic#128627)
  ...
JeremyDahlgren added a commit that referenced this pull request Jul 30, 2025
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: #131894, #131948
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. >refactoring Team:Distributed Indexing Meta label for Distributed Indexing team v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants