-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Initialize RemoteRoutingTableService when we have RoutingTableRepos #15645
Conversation
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
c83f005
to
f605f1c
Compare
❌ Gradle check result for c83f005: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15645 +/- ##
============================================
- Coverage 71.90% 71.85% -0.06%
- Complexity 64086 64088 +2
============================================
Files 5269 5269
Lines 299807 299807
Branches 43326 43326
============================================
- Hits 215581 215419 -162
- Misses 66493 66666 +173
+ Partials 17733 17722 -11 ☔ View full report in Codecov by Sentry. |
…tory configured (opensearch-project#15645) Signed-off-by: Shivansh Arora <hishiv@amazon.com>
…tory configured (opensearch-project#15645) Signed-off-by: Shivansh Arora <hishiv@amazon.com>
…tory configured (opensearch-project#15645) Signed-off-by: Shivansh Arora <hishiv@amazon.com>
…tory configured (opensearch-project#15645) Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Description
We were earlier depending of RemotePublicationEnabled flag on all nodes to Initializing the RemoteRoutingTableService. But, this can cause issues when we are trying to disable or enable the RemotePublication. We should rather just depend on Routing Table Repos only to decide if we want to initialize the InternalRemoteRoutingTableService or NoopRoutingTableService.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.