-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Remove RemoteClusterService.getConnections()
method
#131948
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
Remove RemoteClusterService.getConnections()
method
#131948
Conversation
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
This looks good to me. Do you plan to add more to it since it is marked as draft? |
Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing) |
Just those changes in this one, I changed it to ready for review, thanks Yang! |
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…-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) ...
…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
…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
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