8000 fix(inkless:retention): skip consolidating topics in WAL retention [KC-552] by viktorsomogyi · Pull Request #808 · aiven/inkless · GitHub
[go: up one dir, main page]

Skip to content

fix(inkless:retention): skip consolidating topics in WAL retention [KC-552] - #808

Merged
EelisK merged 1 commit into
mainfrom
svv/KC-552-retention-guard
Sep 23, 2026
Merged

EelisK merged 1 commit into
mainfrom
svv/KC-552-retention-guard

Conversation

@viktorsomogyi
@viktorsomogyi viktorsomogyi commented Sep 22, 2026 •
Copy link
Copy Markdown
Contributor

RetentionEnforcer deletes WAL batches from the control plane. On a topic this broker consolidates, that path ignores data RemoteLogManager still serves. The enforcer now skips those topics on each cycle when consolidation is enabled. ConsolidatedDisklessLogPruner still removes only remotely confirmed WAL data.

Assisted-by: Grok 4.7
Co-authored-by: Cursor cursoragent@cursor.com

@viktorsomogyi
viktorsomogyi force-pushed the svv/KC-552-retention-guard branch 3 times, most recently from 2716767 to 1dfc140 Compare September 23, 2026 09:30
@viktorsomogyi
viktorsomogyi marked this pull request as ready for review September 23, 2026 09:30
@viktorsomogyi
viktorsomogyi force-pushed the svv/KC-552-retention-guard branch from 1dfc140 to 65114ee Compare September 23, 2026 09:38
…C-552]

RetentionEnforcer deletes WAL batches from the control plane. On a topic this broker consolidates, that path ignores data RemoteLogManager still serves. The enforcer now skips those topics on each cycle when consolidation is enabled. ConsolidatedDisklessLogPruner still removes only remotely confirmed WAL data.

## Test plan
- RetentionEnforcerTest covers a mixed ready set, consolidation disabled, and an all-consolidating ready set.
- :core:testClasses compiles the ReplicaManager constructor wiring.

Assisted-by: Grok 4.7
Co-authored-by: Cursor <cursoragent@cursor.com>
@viktorsomogyi
viktorsomogyi force-pushed the svv/KC-552-retention-guard branch from 65114ee to e489ab5 Compare September 23, 2026 09:44
@EelisK EelisK left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@EelisK
EelisK merged commit b15ea95 into main Sep 23, 2026
5 checks passed
@EelisK
EelisK deleted the svv/KC-552-retention-guard branch September 23, 2026 11:56
giuseppelillo pushed a commit that referenced this pull request Sep 24, 2026
…C-552] (#808)

RetentionEnforcer deletes WAL batches from the control plane. On a topic this broker consolidates, that path ignores data RemoteLogManager still serves. The enforcer now skips those topics on each cycle when consolidation is enabled. ConsolidatedDisklessLogPruner still removes only remotely confirmed WAL data.

## Test plan
- RetentionEnforcerTest covers a mixed ready set, consolidation disabled, and an all-consolidating ready set.
- :core:testClasses compiles the ReplicaManager constructor wiring.

Assisted-by: Grok 4.7

Co-authored-by: Cursor <cursoragent@cursor.com>
giuseppelillo pushed a commit that referenced this pull request Sep 24, 2026
…C-552] (#808)

RetentionEnforcer deletes WAL batches from the control plane. On a topic this broker consolidates, that path ignores data RemoteLogManager still serves. The enforcer now skips those topics on each cycle when consolidation is enabled. ConsolidatedDisklessLogPruner still removes only remotely confirmed WAL data.

## Test plan
- RetentionEnforcerTest covers a mixed ready set, consolidation disabled, and an all-consolidating ready set.
- :core:testClasses compiles the ReplicaManager constructor wiring.

Assisted-by: Grok 4.7

Co-authored-by: Cursor <cursoragent@cursor.com>
giuseppelillo pushed a commit that referenced this pull request Sep 24, 2026
…C-552] (#808)

RetentionEnforcer deletes WAL batches from the control plane. On a topic this broker consolidates, that path ignores data RemoteLogManager still serves. The enforcer now skips those topics on each cycle when consolidation is enabled. ConsolidatedDisklessLogPruner still removes only remotely confirmed WAL data.

## Test plan
- RetentionEnforcerTest covers a mixed ready set, consolidation disabled, and an all-consolidating ready set.
- :core:testClasses compiles the ReplicaManager constructor wiring.

Assisted-by: Grok 4.7

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.

2 participants

0