-
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
Adding translog durability validation in index templates #15494
Adding translog durability validation in index templates #15494
Conversation
❕ Gradle check result for 13939c8: 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 #15494 +/- ##
============================================
+ Coverage 71.81% 71.94% +0.12%
- Complexity 63456 63539 +83
============================================
Files 5246 5246
Lines 296982 296991 +9
Branches 42894 42896 +2
============================================
+ Hits 213281 213665 +384
+ Misses 66230 65737 -493
- Partials 17471 17589 +118 ☔ View full report in Codecov by Sentry. |
server/src/test/java/org/opensearch/cluster/metadata/MetadataIndexTemplateServiceTests.java
Outdated
Show resolved
Hide resolved
❕ Gradle check result for 2330a12: 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. |
server/src/main/java/org/opensearch/cluster/metadata/MetadataIndexTemplateService.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/cluster/metadata/MetadataIndexTemplateService.java
Show resolved
Hide resolved
Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
2330a12
to
d03dfb5
Compare
Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
❌ Gradle check result for d03dfb5: 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? |
--------- Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com> (cherry picked from commit 57a597f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…5523) --------- (cherry picked from commit 57a597f) Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.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>
…project#15494) --------- Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
…project#15494) --------- Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
…project#15494) --------- Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
…project#15494) --------- Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
Description
Restricting index template creation if
cluster.remote_store.index.restrict.async-durability
is set totrue
and the incoming index template setting hasindex.translog.durability
setting asasync
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
#15493
Check List
[ ] API changes companion pull request created, if applicable.[ ] Public documentation issue/PR created, if applicable.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.