Skip to content

make notifying merge planner best effort#6493

Closed
mattmkim wants to merge 6 commits into
mainfrom
matthew.kim/byoc-decouple-index-compaction
Closed

make notifying merge planner best effort#6493
mattmkim wants to merge 6 commits into
mainfrom
matthew.kim/byoc-decouple-index-compaction

Conversation

@mattmkim

@mattmkim mattmkim commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Description

Indexing is coupled with merge planner pipeline availability - if we can't notify the merge planner, than indexing stops. For example, due to the pagination bug, indexing just stopped in one of the quickhouse org cluster.

For now, make the notification best effort. On restarts, we'll fetch all non merged files to compact. This kinda sucks, because restarts might not happen for a while, and depending on the merge policy, not sure if an old, uncompacted file will merge well. We're eventually moving towards a better/pull based model, with compaction as its own service.

How was this PR tested?

Describe how you tested this PR.

@mattmkim mattmkim marked this pull request as ready for review June 4, 2026 15:14
@mattmkim mattmkim requested a review from a team as a code owner June 4, 2026 15:14
@fulmicoton

Copy link
Copy Markdown
Collaborator

@mattmkim Nadav has been working on externalizing merging to dedicated nodes.
The merge planning works by polling the metastore for new splits.

This problem should disappear once shipped.
(it is currrently in "test phase")

@fulmicoton fulmicoton closed this Jun 12, 2026
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.

2 participants