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

ILM warm phase is stuck in the segment-count step, but no error log output #54247

Closed
zhousPole opened this issue Mar 26, 2020 · 3 comments
Closed
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management

Comments

@zhousPole
Copy link

zhousPole commented Mar 26, 2020

(elasticsearch 6.8.0)
I am using ilm management index,shrink and forcemerge are configured during the warm phase and max_num_segments configured to 1.The index is stuck in a segment-count step, however, changing the log level to trace, background without any error log output, The query is forcemerge the task is empty, my index always has a part shard can not complete. but when i remove the shrink action of warm phase, index can go to the next stage normally.
My suspicion is that when the shrink is completed shard, it redistributes, causing some of the shard to be migrated to other nodes, but forcemerge does not perform at other nodes,
The final part of the shard can not be completed forcemerge, leading ilm to wait indefinitely for the segment-count step, Is that possible?
What if shrink affected forcemerge, Then warm phase how to configure shrink and forcemerge, at the same time because after configuration at the same time index may always wait in segment-count steps.

@dakrone
Copy link
Member

dakrone commented Mar 26, 2020

This was already fixed by #43246, which fixed #43245

@dakrone dakrone added the :Data Management/ILM+SLM Index and Snapshot lifecycle management label Mar 26, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/ILM+SLM)

@dakrone
Copy link
Member

dakrone commented Mar 27, 2020

I'm going to close this since it's already been resolved.

@dakrone dakrone closed this as completed Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management
Projects
None yet
Development

No branches or pull requests

3 participants