Skip to content

Comments

add dlm force merge step skeleton#142791

Open
seanzatzdev wants to merge 4 commits intoelastic:mainfrom
seanzatzdev:dlm-force-merge-step
Open

add dlm force merge step skeleton#142791
seanzatzdev wants to merge 4 commits intoelastic:mainfrom
seanzatzdev:dlm-force-merge-step

Conversation

@seanzatzdev
Copy link
Contributor

Adds a skeleton and a few helpers for the dlm force merge step

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a skeleton implementation for a DLM (Data Lifecycle Management) force merge step, which will be responsible for force merging indices as part of the data stream lifecycle management process. The implementation follows the DlmStep interface pattern established by ReadOnlyStep.

Changes:

  • Added ForceMergeStep class implementing DlmStep interface with helper methods for checking and marking force merge completion
  • Added comprehensive unit tests for the helper methods (stepCompleted, markForceMergeComplete, and stepName)
  • Introduced a new index setting "index.lifecycle.dlm_force_merge_complete" to track force merge completion status

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
ForceMergeStep.java Skeleton implementation of force merge step with completion checking and marking helpers; execute() method is stubbed with TODO
ForceMergeStepTests.java Unit tests for stepCompleted, markForceMergeComplete, and stepName methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@seanzatzdev seanzatzdev marked this pull request as ready for review February 21, 2026 00:08
@elasticsearchmachine elasticsearchmachine added the needs:triage Requires assignment of a team area label label Feb 21, 2026
@seanzatzdev seanzatzdev added >non-issue :StorageEngine/Data streams Data streams and their lifecycles Team:StorageEngine and removed needs:triage Requires assignment of a team area label labels Feb 21, 2026
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants