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

Add force-merge step to searchable snapshots action #56215

Closed
DaveCTurner opened this issue May 5, 2020 · 1 comment · Fixed by #60819
Closed

Add force-merge step to searchable snapshots action #56215

DaveCTurner opened this issue May 5, 2020 · 1 comment · Fixed by #60819
Assignees
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement Team:Data Management Meta label for data/management team

Comments

@DaveCTurner
Copy link
Contributor

It's preferable when searching a snapshot that the snapshotted index was force-merged to a single segment first. ILM lets you configure a suitable force-merge action in an earlier phase but does not actively encourage its use, and we also see a need to support occasional writes in the warm phase so that the index may no longer be force-merged by the time it is moved to the cold phase.

We discussed this today and decided it would be good to add a force-merge step to the searchable snapshots action. This step would be enabled by default but we'd include an option to disable it. Force-merging an already-force-merged index is a no-op so it's ok always to run this step.

@DaveCTurner DaveCTurner added >enhancement :Data Management/ILM+SLM Index and Snapshot lifecycle management labels May 5, 2020
@elasticmachine
Copy link
Collaborator

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

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 >enhancement Team:Data Management Meta label for data/management team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants