Skip to content

[Backport 2.x]Add remote state publication transport call (#13835)#14137

Merged
shwetathareja merged 1 commit intoopensearch-project:2.xfrom
soosinha:backport-rs-publish
Jun 10, 2024
Merged

[Backport 2.x]Add remote state publication transport call (#13835)#14137
shwetathareja merged 1 commit intoopensearch-project:2.xfrom
soosinha:backport-rs-publish

Conversation

@soosinha
Copy link
Copy Markdown
Member

  • Add remote state publication transport call

Backport b769292 from #13835

* Add remote state publication transport call

Signed-off-by: Sooraj Sinha <soosinha@amazon.com>

* Add publication flag and remote routing table check

Signed-off-by: Himshikha Gupta <himshikh@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 84969c8: SUCCESS

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 10, 2024

Codecov Report

Attention: Patch coverage is 44.80519% with 85 lines in your changes missing coverage. Please review.

Project coverage is 71.47%. Comparing base (0dd892c) to head (84969c8).
Report is 333 commits behind head on 2.x.

Files Patch % Lines
...ster/coordination/PublicationTransportHandler.java 39.36% 54 Missing and 3 partials ⚠️
...rch/cluster/coordination/RemotePublishRequest.java 47.36% 10 Missing ⚠️
...ava/org/opensearch/cluster/node/DiscoveryNode.java 0.00% 5 Missing ⚠️
...arch/gateway/remote/RemoteClusterStateService.java 61.53% 4 Missing and 1 partial ⚠️
.../java/org/opensearch/gateway/GatewayMetaState.java 66.66% 2 Missing and 1 partial ⚠️
...search/cluster/coordination/CoordinationState.java 50.00% 1 Missing and 1 partial ⚠️
...earch/gateway/remote/ClusterStateDiffManifest.java 0.00% 2 Missing ⚠️
...search/gateway/remote/ClusterMetadataManifest.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #14137      +/-   ##
============================================
+ Coverage     71.28%   71.47%   +0.18%     
- Complexity    60145    61726    +1581     
============================================
  Files          4957     5064     +107     
  Lines        282799   289758    +6959     
  Branches      41409    42275     +866     
============================================
+ Hits         201591   207097    +5506     
- Misses        64189    65215    +1026     
- Partials      17019    17446     +427     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shwetathareja shwetathareja changed the title Add remote state publication transport call (#13835) [Backport 2.x]Add remote state publication transport call (#13835) Jun 10, 2024
@shwetathareja shwetathareja merged commit 97430b3 into opensearch-project:2.x Jun 10, 2024
kkewwei pushed a commit to kkewwei/OpenSearch that referenced this pull request Jul 24, 2024
opensearch-project#14137)

* Add remote state publication transport call
Signed-off-by: Sooraj Sinha <soosinha@amazon.com>
* Add publication flag and remote routing table check
Signed-off-by: Himshikha Gupta <himshikh@amazon.com>
Signed-off-by: kkewwei <kkewwei@163.com>
@soosinha soosinha deleted the backport-rs-publish branch December 20, 2024 06:56
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.

2 participants