Skip to content

[Backport 2.17] Add restriction to have a single repository with shallow snapshot v2 setting#15911

Merged
sachinpkale merged 2 commits into2.17from
backport/backport-15901-to-2.17
Sep 12, 2024
Merged

[Backport 2.17] Add restriction to have a single repository with shallow snapshot v2 setting#15911
sachinpkale merged 2 commits into2.17from
backport/backport-15901-to-2.17

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport 330b249 from #15901.

…setting (#15901)

* Add restriction to have a single repository with shallow snapshot v2 setting

Signed-off-by: Sachin Kale <sachinpkale@gmail.com>

* Do not allow shallow snapshot v2 repo name to contain SNAPSHOT_PINNED_TIMESTAMP_DELIMITER

Signed-off-by: Sachin Kale <sachinpkale@gmail.com>

---------

Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
(cherry picked from commit 330b249)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

❕ Gradle check result for 1957d8c: 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.

@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 843d938: SUCCESS

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 73.46939% with 13 lines in your changes missing coverage. Please review.

Project coverage is 71.71%. Comparing base (9e47c25) to head (843d938).
Report is 9 commits behind head on 2.17.

Files with missing lines Patch % Lines
...g/opensearch/repositories/RepositoriesService.java 67.74% 8 Missing and 2 partials ⚠️
...remotestore/RemoteStorePinnedTimestampService.java 83.33% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               2.17   #15911      +/-   ##
============================================
+ Coverage     71.54%   71.71%   +0.16%     
- Complexity    64449    64621     +172     
============================================
  Files          5263     5264       +1     
  Lines        301791   302101     +310     
  Branches      43926    43976      +50     
============================================
+ Hits         215924   216655     +731     
+ Misses        67833    67351     -482     
- Partials      18034    18095      +61     

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

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.

1 participant