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

Block new index creation #4603

Closed
RS146BIJAY opened this issue Sep 27, 2022 · 1 comment
Closed

Block new index creation #4603

RS146BIJAY opened this issue Sep 27, 2022 · 1 comment
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request Priority-Low

Comments

@RS146BIJAY
Copy link
Contributor

Is your feature request related to a problem? Please describe.
As of now, OpenSearch does not support index creation block at cluster level. This feature will be required to support usecases like #4456 .

Describe the solution you'd like
We want a way to dynamically trigger a setting to apply index create block. This block should only prevent index creation, while write should continue to happen on the existing index.

Describe alternatives you've considered
We considered setting action.auto_create_index to false. But this will be controlled via elasticsearch.yml and won't dynamically apply index create block which is our use case here.

@RS146BIJAY RS146BIJAY added enhancement Enhancement or improvement to existing feature or request untriaged labels Sep 27, 2022
@andrross
Copy link
Member

I'd love to see a response to @Gaganjuneja's comment about evaluating the various conditions up front to fail an index creation request as opposed to implementing a new cluster level setting. That strikes me as potentially a better solution to the problem.

andrross added a commit to andrross/OpenSearch that referenced this issue Feb 3, 2023
Three changes here:
 - Remove unneeded entry (was removed in backport) (opensearch-project#6049)
 - Move segrep change to proper section (was put in correct spot in
   backport) (opensearch-project#6122)
 - Add back issue that was merged to main prior to 2.5 release but not
   backported, and was therefore removed from the main CHANGELOG (opensearch-project#4603)

Signed-off-by: Andrew Ross <andrross@amazon.com>
@andrross andrross mentioned this issue Feb 3, 2023
6 tasks
andrross added a commit that referenced this issue Feb 4, 2023
Three changes here:
 - Remove unneeded entry (was removed in backport) (#6049)
 - Move segrep change to proper section (was put in correct spot in
   backport) (#6122)
 - Add back issue that was merged to main prior to 2.5 release but not
   backported, and was therefore removed from the main CHANGELOG (#4603)

Signed-off-by: Andrew Ross <andrross@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request Priority-Low
Projects
None yet
Development

No branches or pull requests

4 participants