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

[Backport 2.x] Add POJO classes required for cluster state publication from remote (#14006) #14172

Merged

Conversation

shiv0408
Copy link
Member

backport a9d2050 from #14006

…pensearch-project#14006)

* Add POJO classes required for cluster state publication from remote
* Use InputStreams rather than XContent for serialization for ehpemeral objects
Signed-off-by: Shivansh Arora <[email protected]>

* Add remote routing table changes in diff Manifest
Signed-off-by: Arpit Bandejiya <[email protected]>

(cherry picked from commit a9d2050)
Copy link
Contributor

❕ Gradle check result for 5647976: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Copy link

codecov bot commented Jun 11, 2024

Codecov Report

Attention: Patch coverage is 74.70199% with 191 lines in your changes missing coverage. Please review.

Project coverage is 71.48%. Comparing base (0dd892c) to head (5647976).
Report is 344 commits behind head on 2.x.

Files Patch % Lines
...earch/gateway/remote/ClusterStateDiffManifest.java 84.33% 24 Missing and 28 partials ⚠️
...search/gateway/remote/ClusterMetadataManifest.java 77.01% 24 Missing and 16 partials ⚠️
...search/gateway/remote/RemoteClusterStateUtils.java 0.00% 35 Missing ⚠️
...ay/remote/RemoteClusterStateAttributesManager.java 0.00% 27 Missing ⚠️
...h/gateway/remote/RemoteStateTransferException.java 0.00% 14 Missing ⚠️
...nsearch/gateway/remote/model/RemoteReadResult.java 0.00% 8 Missing ⚠️
...ateway/remote/model/RemoteClusterStateCustoms.java 85.71% 4 Missing and 1 partial ⚠️
...arch/gateway/remote/model/RemoteClusterBlocks.java 85.18% 4 Missing ⚠️
...remote/model/RemoteHashesOfConsistentSettings.java 85.18% 4 Missing ⚠️
...ain/java/org/opensearch/cluster/DiffableUtils.java 50.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #14172      +/-   ##
============================================
+ Coverage     71.28%   71.48%   +0.19%     
- Complexity    60145    62020    +1875     
============================================
  Files          4957     5082     +125     
  Lines        282799   291284    +8485     
  Branches      41409    42436    +1027     
============================================
+ Hits         201591   208215    +6624     
- Misses        64189    65534    +1345     
- Partials      17019    17535     +516     

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

@shwetathareja shwetathareja merged commit 66a5eb9 into opensearch-project:2.x Jun 11, 2024
54 of 55 checks passed
@shiv0408 shiv0408 deleted the backport/backport-14006-to-2.x branch June 11, 2024 11:50
kkewwei pushed a commit to kkewwei/OpenSearch that referenced this pull request Jul 24, 2024
…pensearch-project#14006) (opensearch-project#14172)

* Add POJO classes required for cluster state publication from remote
* Use InputStreams rather than XContent for serialization for ehpemeral objects
Signed-off-by: Shivansh Arora <[email protected]>

* Add remote routing table changes in diff Manifest
Signed-off-by: Arpit Bandejiya <[email protected]>

(cherry picked from commit a9d2050)
Signed-off-by: kkewwei <[email protected]>
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