-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add restriction to have a single repository with shallow snapshot v2 setting #15901
Add restriction to have a single repository with shallow snapshot v2 setting #15901
Conversation
1526597
to
c57c9c2
Compare
…setting Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
c57c9c2
to
0d86005
Compare
❕ Gradle check result for c57c9c2: 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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15901 +/- ##
============================================
+ Coverage 71.90% 72.01% +0.10%
- Complexity 64216 64311 +95
============================================
Files 5272 5272
Lines 300597 300636 +39
Branches 43440 43449 +9
============================================
+ Hits 216151 216499 +348
+ Misses 66680 66422 -258
+ Partials 17766 17715 -51 ☔ View full report in Codecov by Sentry. |
server/src/main/java/org/opensearch/repositories/RepositoriesService.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/repositories/RepositoriesService.java
Outdated
Show resolved
Hide resolved
…_TIMESTAMP_DELIMITER Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
server/src/main/java/org/opensearch/repositories/RepositoriesService.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/repositories/RepositoriesService.java
Show resolved
Hide resolved
…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>
…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>
…low snapshot v2 setting (#15911) * Add restriction to have a single repository with shallow snapshot v2 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> * Add a method to avoid breaking changes Signed-off-by: Sachin Kale <sachinpkale@gmail.com> --------- Signed-off-by: Sachin Kale <sachinpkale@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sachin Kale <sachinpkale@gmail.com>
…ow snapshot v2 setting (#15912) * Add restriction to have a single repository with shallow snapshot v2 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> * Add a method to avoid breaking changes Signed-off-by: Sachin Kale <sachinpkale@gmail.com> --------- Signed-off-by: Sachin Kale <sachinpkale@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sachin Kale <sachinpkale@gmail.com>
…setting (opensearch-project#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>
…setting (opensearch-project#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>
…setting (opensearch-project#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>
Description
Related Issues
Check List
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.