Skip to content

Add flag to remerge multi day splits#33

Open
rdettai-sk wants to merge 2 commits intosekoiafrom
remerge-multi-day-splits
Open

Add flag to remerge multi day splits#33
rdettai-sk wants to merge 2 commits intosekoiafrom
remerge-multi-day-splits

Conversation

@rdettai-sk
Copy link
Copy Markdown
Collaborator

Description

Add --split-timestamp-days-range to enable merges of splits spanning multiple days. During a given run, only a specific range can be executed (typically 0, 1 or 2 days). Specifying 0 days only considers split for which the start and end is on the same day, which is the current behavior.

Copilot AI review requested due to automatic review settings April 22, 2026 15:18
Copy link
Copy Markdown

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

Adds a new --split-timestamp-days-range option to the tool merge-mature workflow to allow (and target) mature-merge planning for splits whose timestamp ranges span multiple UTC days.

Changes:

  • Added split_timestamp_days_range to MatureMergeConfig with default 0 (single-day behavior).
  • Added CLI flag --split-timestamp-days-range and plumbed it into MatureMergeConfig.
  • Updated merge planning logic/documentation to filter splits based on the configured day-bucket range.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
quickwit/quickwit-indexing/src/mature_merge_plan.rs Adjusts eligibility rules for assigning splits to day buckets based on a configurable day-range.
quickwit/quickwit-indexing/src/mature_merge.rs Extends MatureMergeConfig with the new day-range parameter and default.
quickwit/quickwit-cli/src/tool.rs Adds the new CLI flag and passes it into mature-merge configuration.

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

Comment thread quickwit/quickwit-indexing/src/mature_merge_plan.rs Outdated
Comment thread quickwit/quickwit-indexing/src/mature_merge_plan.rs Outdated
Comment thread quickwit/quickwit-indexing/src/mature_merge.rs Outdated
Comment thread quickwit/quickwit-cli/src/tool.rs
Comment thread quickwit/quickwit-cli/src/tool.rs
Comment thread quickwit/quickwit-indexing/src/mature_merge_plan.rs Outdated
Copy link
Copy Markdown

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


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

@rdettai-sk rdettai-sk force-pushed the remerge-multi-day-splits branch from decf9d4 to 7adeca9 Compare April 23, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants