-
Notifications
You must be signed in to change notification settings - Fork 636
Rollover stops without any error in logs #1538
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
Comments
I can perhaps fix this, but you should also know that you should not rollover an alias that is associated with indices that do not have If you're trying to keep an alias set to point to all indices in a group that is older and never had |
I agree about setting |
I will still look into that. |
Is the project still alive? We are experiencing big problems with the informativeness of the curator’s logs not only for this issue. One gets the feeling that the project is more likely to have died. |
Not dead, but barely on life support. I just don't have a lot of time to spend on it. |
Expected Behavior
Rollover should succeed.
Actual Behavior
Rollover doesn't complete and no errors appear in logs.
Steps to Reproduce the Problem
Add all indexes into an alias, but leave is_write_index blank for one of them:
Run Curator with the following actions.yml:
The last record in Curator log is:
There is no error in the logs, which makes it difficult to identify the root problem.
Specifications
Detailed Description
It seems like there are 2 problems:
get_write_index procedure doesn't expect to receive index with alias without is_write_index parameter.
It seems incorrect to me, because is_write_index is an optional parameter and this command still works fine:
curl -XPOST "http://elasticsearch:9200/index_alias/_rollover/"
After get_write_index procedure receives index with alias without is_write_index parameter, it raises an exception "Invalid alias: is_write_index not found in 1 to many alias". But this text is getting missed due to
condition.
The text was updated successfully, but these errors were encountered: