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

[BUG] Async Translog Durability restriction is not being honored when indices are created through templates #15493

Closed
shourya035 opened this issue Aug 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Storage:Remote

Comments

@shourya035
Copy link
Member

Describe the bug

Today, when we set the cluster.remote_store.index.restrict.async-durability setting, indices cannot be created with the index.translog.durability setting as async. However, this behavior is bypassed when the index is created through index templates.

Related component

Storage:Remote

To Reproduce

  • Create a cluster with cluster.remote_store.index.restrict.async-durability set to true
  • Create an index template with the following setting:
"index.translog.durability": "async"
  • Index would get created with Async translog durability

Expected behavior

Index template creation should be blocked in this case

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@ashking94
Copy link
Member

Closing this issue as the reference PR has been merged already.
[Triage - attendees 1 2 3 4 5]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage:Remote
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants