Skip to content

fix(inkless:consolidation): start consolidation when remote storage is enabled on a diskless topic#652

Draft
viktorsomogyi wants to merge 1 commit into
svv/ts-unification-seal-fixfrom
svv/ts-unification-consolidation-start-fix
Draft

fix(inkless:consolidation): start consolidation when remote storage is enabled on a diskless topic#652
viktorsomogyi wants to merge 1 commit into
svv/ts-unification-seal-fixfrom
svv/ts-unification-consolidation-start-fix

Conversation

@viktorsomogyi

Copy link
Copy Markdown
Contributor

The controller applies a classic-to-consolidated switch (and the untiered-diskless -> consolidated upgrade) as separate metadata deltas: remote.storage.enable=true arrives as a config-only delta with no leader or partition change, so the leader-delta path never starts the consolidation fetcher. TopicConfigHandler now kicks off consolidation for the topic's online partitions when remote storage flips from false to true on a diskless topic; the reconciler skips any partitions that are not ready yet and it is a no-op for non-consolidating topics.

…s enabled on a diskless topic

The controller applies a classic-to-consolidated switch (and the
untiered-diskless -> consolidated upgrade) as separate metadata deltas:
remote.storage.enable=true arrives as a config-only delta with no leader or
partition change, so the leader-delta path never starts the consolidation
fetcher. TopicConfigHandler now kicks off consolidation for the topic's online
partitions when remote storage flips from false to true on a diskless topic;
the reconciler skips any partitions that are not ready yet and it is a no-op
for non-consolidating topics.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant