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] Job Scheduler Lock index should not use any user templates #678

Open
mgodwan opened this issue Sep 14, 2024 · 1 comment
Open

[BUG] Job Scheduler Lock index should not use any user templates #678

mgodwan opened this issue Sep 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mgodwan
Copy link
Member

mgodwan commented Sep 14, 2024

What is the bug?
If a user creates an index template on pattern *, any mappings, settings get applied to the job scheduler lock index as well. This can cause issues when there is an overlap in field names or dynamic mapping is getting applied.

How can one reproduce the bug?

  1. Create a template with lock_time mapping set to short
  2. Start job scheduler through an ISM policy to create a new job
  3. Job lock acquire will fail due to failure in create index

What is the expected behavior?
Job lock should get acquired

What is your host/environment?

  • OS: Amazon Linux
  • Version [e.g. 22]
  • Plugins ISM, Job Scheduler

Do you have any screenshots?
NA

Do you have any additional context?
NA

@cwperks
Copy link
Member

cwperks commented Sep 16, 2024

@mgodwan What version of OpenSearch was this seen in? In general, index templates should filter out system indices before trying to create an index.

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

No branches or pull requests

3 participants