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

Adding translog durability validation in index templates #15494

Merged
merged 4 commits into from
Aug 30, 2024

Conversation

shourya035
Copy link
Member

Description

Restricting index template creation if cluster.remote_store.index.restrict.async-durability is set to true and the incoming index template setting has index.translog.durability setting as async

Related Issues

Resolves #[Issue number to be closed when this PR is merged]
#15493

Check List

  • Functionality includes testing.
  • [ ] 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.

Copy link
Contributor

✅ Gradle check result for 82b2fa3: SUCCESS

Copy link
Contributor

✅ Gradle check result for 1f4570e: SUCCESS

Copy link
Contributor

❕ 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.

Copy link

codecov bot commented Aug 29, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 71.94%. Comparing base (9194b7a) to head (2c1253d).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...cluster/metadata/MetadataIndexTemplateService.java 77.77% 1 Missing and 1 partial ⚠️
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.
📢 Have feedback on the report? Share it here.

CHANGELOG-3.0.md Outdated Show resolved Hide resolved
@shourya035 shourya035 self-assigned this Aug 29, 2024
@shourya035 shourya035 added the backport 2.x Backport to 2.x branch label Aug 29, 2024
Copy link
Contributor

❕ 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.

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>
Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
Copy link
Contributor

❌ 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?

Copy link
Contributor

✅ Gradle check result for 2c1253d: SUCCESS

@linuxpi linuxpi merged commit 57a597f into opensearch-project:main Aug 30, 2024
34 of 35 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 30, 2024
---------

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>
gbbafna pushed a commit that referenced this pull request Aug 30, 2024
…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>
akolarkunnu pushed a commit to akolarkunnu/OpenSearch that referenced this pull request Sep 10, 2024
…project#15494)

---------

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
…project#15494)

---------

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 17, 2024
…project#15494)

---------

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 2024
…project#15494)

---------

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants