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

[Remote Cluster State] Remote state interfaces #13785

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

soosinha
Copy link
Member

@soosinha soosinha commented May 22, 2024

Description

Creating generic interface to upload or download a generic object to a configurable remote storage.

Related Issues

#13791

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • API changes companion pull request created.
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

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.

Copy link
Contributor

❌ Gradle check result for 3f09094: 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?

@soosinha soosinha force-pushed the rs-interface branch 2 times, most recently from e28a949 to e64941a Compare May 23, 2024 04:27
Copy link
Contributor

❌ Gradle check result for e28a949: 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

✅ Gradle check result for e64941a: SUCCESS

Copy link

codecov bot commented May 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 69 lines in your changes missing coverage. Please review.

Project coverage is 71.61%. Comparing base (b15cb0c) to head (b43d2fe).
Report is 348 commits behind head on main.

Files Patch % Lines
...eway/remote/model/RemoteClusterStateBlobStore.java 0.00% 38 Missing ⚠️
...ommon/remote/AbstractRemoteWritableBlobEntity.java 0.00% 23 Missing ⚠️
...g/opensearch/common/remote/BlobPathParameters.java 0.00% 6 Missing ⚠️
...search/gateway/remote/RemoteClusterStateUtils.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13785      +/-   ##
============================================
+ Coverage     71.42%   71.61%   +0.19%     
- Complexity    59978    61341    +1363     
============================================
  Files          4985     5066      +81     
  Lines        282275   287976    +5701     
  Branches      40946    41697     +751     
============================================
+ Hits         201603   206236    +4633     
- Misses        63999    64782     +783     
- Partials      16673    16958     +285     

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

@prudhvigodithi
Copy link
Member

prudhvigodithi commented May 23, 2024

Hey, If the Gradle check fails with error No such property: post_merge_action , please merge/rebase the PR from upstream to ensure the post_merge_action field is part of the Gradle check setup. More details in the PR #13786.

Copy link
Collaborator

@Bukhtawar Bukhtawar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes @soosinha, looks much better now. The interface changes looks good to me

@shwetathareja shwetathareja merged commit 156eca3 into opensearch-project:main Jun 6, 2024
32 of 34 checks passed
@shwetathareja shwetathareja added the backport 2.x Backport to 2.x branch label Jun 6, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 6, 2024
* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
(cherry picked from commit 156eca3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
LantaoJin pushed a commit to LantaoJin/OpenSearch that referenced this pull request Jun 6, 2024
)

* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
* @param <T> The object type which can be uploaded to or downloaded from remote storage.
* @param <U> The wrapper entity which provides methods for serializing/deserializing entity T.
*/
public interface RemoteWritableEntityStore<T, U extends RemoteWriteableEntity<T>> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets make this ExperimentalApi for the current release

soosinha pushed a commit to soosinha/OpenSearch that referenced this pull request Jun 7, 2024
)

* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
(cherry picked from commit 156eca3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
soosinha pushed a commit to soosinha/OpenSearch that referenced this pull request Jun 7, 2024
)

* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
(cherry picked from commit 156eca3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
soosinha pushed a commit to soosinha/OpenSearch that referenced this pull request Jun 7, 2024
)

* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
(cherry picked from commit 156eca3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
soosinha pushed a commit to soosinha/OpenSearch that referenced this pull request Jun 7, 2024
)

* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
(cherry picked from commit 156eca3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
soosinha pushed a commit to soosinha/OpenSearch that referenced this pull request Jun 8, 2024
)

* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
(cherry picked from commit 156eca3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
shwetathareja pushed a commit that referenced this pull request Jun 8, 2024
* Remote Writable Entity interfaces


(cherry picked from commit 156eca3)

Signed-off-by: Sooraj Sinha <[email protected]>
himshikha pushed a commit to himshikha/OpenSearch that referenced this pull request Jun 8, 2024
) (opensearch-project#14065)

* Remote Writable Entity interfaces


(cherry picked from commit 156eca3)

Signed-off-by: Sooraj Sinha <[email protected]>
parv0201 pushed a commit to parv0201/OpenSearch that referenced this pull request Jun 10, 2024
)

* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
kkewwei pushed a commit to kkewwei/OpenSearch that referenced this pull request Jul 24, 2024
) (opensearch-project#14065)

* Remote Writable Entity interfaces

(cherry picked from commit 156eca3)

Signed-off-by: Sooraj Sinha <[email protected]>
Signed-off-by: kkewwei <[email protected]>
wdongyu pushed a commit to wdongyu/OpenSearch that referenced this pull request Aug 22, 2024
)

* Remote Writable Entity interfaces

Signed-off-by: Sooraj Sinha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants