Repository navigation
Conversation
Exercise a generation 4 `gc/state` record with both sweep cursors and no completion timestamp. Document how the timestamp is interpreted and drop the description of an intermediate format that never shipped. Co-authored-by: Codex (gpt-6.2-astra) <[email protected]> Signed-off-by: Konstantin Morozov <[email protected]>
Fold deferral is independent of the orphan manifest sweep interval. Let the fixtures exercise the ordinary GC path, including the sweep page in the ref catalog test. Co-authored-by: Codex (gpt-6.2-astra) <[email protected]> Signed-off-by: Konstantin Morozov <[email protected]>
The tests exercise the ordinary fold trigger after a sweep failure or suppression. Their names previously implied a separate sweep retry deferral policy. Co-authored-by: Codex (gpt-6.2-astra) <[email protected]> Signed-off-by: Konstantin Morozov <[email protected]>
The schedule already disables the sweep when its list budget is zero. Remove the duplicate check in `fold` and exercise a two-page scan across a pause. Restoring the budget must resume at the saved cursor and record completion after the last page. Co-authored-by: Codex (gpt-6.2-astra) <[email protected]> Signed-off-by: Konstantin Morozov <[email protected]>
10 of 30 tasks
Member
PR #2954 Audit Review
VerdictNo confirmed distributed-systems defects in reviewed scope. The only behavior change removes the
Model assumptions
Lower-severity notes
What was checked and found clean
Coverage
|
filimonov
approved these changes
Nov 24, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a follow-up to #2800. The sweep schedule decides whether an ordinary GC fold scans a page of manifest keys. A zero list budget already pauses the sweep, so the fold can use the schedule decision directly. A GC test now pauses a two-page scan, verifies that the paused fold issues no manifest LIST, and restores the budget to finish from the saved cursor.
The format test covers a generation 4
gc/staterecord with both sweep cursors and no completion timestamp. The GC documentation describes that upgrade path. The fold tests also drop clock overrides that kept the sweep from running, and their names describe what triggers a fold.Built
clickhouseandunit_tests_dbmslocally. All 813 focused C++ tests passed, and the05814_cas_orphan_manifest_sweep_schedulestateless test passed through Praktika.Related: #2800
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Added regression coverage for resuming a paused CAS orphan manifest sweep and for preserving sweep cursors when upgrading GC state.
Documentation entry for user-facing changes
Updated the CAS garbage collection and format documentation and clarified how setting
cas_manifest_sweep_list_budget_keysto zero affects an in-progress sweep.CI/CD Options
Exclude tests:
Regression jobs to run: