Skip to content

Initialize RemoteRoutingTableService when we have RoutingTableRepos#15645

Merged
Bukhtawar merged 1 commit intoopensearch-project:mainfrom
shiv0408:rrt-service
Sep 4, 2024
Merged

Initialize RemoteRoutingTableService when we have RoutingTableRepos#15645
Bukhtawar merged 1 commit intoopensearch-project:mainfrom
shiv0408:rrt-service

Conversation

@shiv0408
Copy link
Copy Markdown
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>
@github-actions
Copy link
Copy Markdown
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?

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2024

✅ Gradle check result for f605f1c: SUCCESS

@codecov
Copy link
Copy Markdown

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
@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>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
…tory configured (opensearch-project#15645)

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

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 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