Skip to content
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

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

shiv0408
Copy link
Member

@shiv0408 shiv0408 commented Sep 4, 2024

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

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Copy link
Contributor

github-actions bot commented Sep 4, 2024

❌ 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?

Copy link
Contributor

github-actions bot commented Sep 4, 2024

✅ Gradle check result for f605f1c: SUCCESS

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.85%. Comparing base (5bf34d2) to head (f605f1c).
Report is 4 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@Bukhtawar Bukhtawar merged commit e087272 into opensearch-project:main Sep 4, 2024
34 checks passed
@Bukhtawar Bukhtawar added the backport 2.x Backport to 2.x branch label Sep 4, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
…tory configured (#15645)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
(cherry picked from commit e087272)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@shiv0408 shiv0408 deleted the rrt-service branch September 4, 2024 07:59
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
…tory configured (#15645)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
(cherry picked from commit e087272)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Bukhtawar pushed a commit that referenced this pull request Sep 4, 2024
…tory configured (#15645) (#15653)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
…tory configured (#15645) (#15653)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
(cherry picked from commit 7d3ead1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Bukhtawar pushed a commit that referenced this pull request Sep 4, 2024
…tory configured (#15645) (#15654)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
akolarkunnu pushed a commit to akolarkunnu/OpenSearch that referenced this pull request Sep 10, 2024
…tory configured (opensearch-project#15645)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants