-
Notifications
You must be signed in to change notification settings - Fork 75
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
[FEATURE] Make the job scheduler lock index a system index #305
Comments
@joshpalis This may be a good first issue and should be straightforward. There is always a chance when adding a system index that the plugin needs to be re-factored to stash the thread context before trying to interact with the system index so testing needs to be done to ensure the plugin works as expected. For background, a system index has special protections so that not even the admin can delete it. It is there to prevent a cluster admin from inadvertently corrupting the cluster and have opensearch and its plugins not behave as expected. Assuming that no re-factoring is needed, then this index needs to be added in the following 2 files of the security plugin:
This setting in |
I don't see any instances of Here are 2 places where the index is interacted with:
|
Hi @cwperks sure, Ill assign this to you |
The job scheduler lock index (
.opendistro-job-scheduler-lock
) is used fully internally and shouldn't be changed by user.If user inadvertently change this index, it could cause jobs to not running anymore.
Making it a system index can protect it from being changed by user.
The text was updated successfully, but these errors were encountered: