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
NullPointerException encountered during indices housekeeping #3494
Comments
thank you for your report I had double checked that on my lab:
currently I can't reproduce this. Maybe you have some more details. thank you |
@davidktw Please post the output of the following command:
Which script exactly? |
can you please comment on this. |
@davidktw Please reopen this if you can give us additional information on how to reproduce this. Thank you! |
This issue occurs if the active index is rotated while the retention thread is collecting indices. This can happen if the elasticsearch node/cluster isn't strong enough, and responding too slowly to queries. Running the queries joschi posted in a situation like this will result in the active write index (that the alias points to) not showing up in the list of indices. Under normal circumstances it is very rare that a rotation will happen during the retention clean-up. |
Thanks for the update, @spencerwp, we'll take a look. |
NullPointerException encountered during indices housekeeping
Expected Behavior
Indices should be housekeep to only retain the number of configured retention logs number
Current Behavior
Old indices are not removed.
Possible Solution
Steps to Reproduce (for bugs)
Context
Logs cannot be rotated and housekeeper
Your Environment
Installed using sensible script provided by Elastic.co
The text was updated successfully, but these errors were encountered: