You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A stuck bucket stops decommissioning later buckets and cancellation can be lost #307
Retrospective report from the post-20261026 review. The implementation and verification record follows in a comment.
Problem
Decommission stopped at the first bucket it could not finish, leaving unrelated later buckets untouched. A missing tier configuration could trigger this indefinitely. Finalization could also overwrite a canceled state and make the persisted result misleading.
Expected behavior
Make progress on independent buckets, retain resumable work for failures, and preserve cancellation as a terminal decision.
Scope
Local follow-up to #265/#276; this concerns progress and final state rather than the original expired-current-version migration bug.
Continue past failed buckets while retaining the first error, stop promptly on cancellation, and retire a bucket only after its completion checks pass. Preserve cancellation through finalization and reload. A refused restored-copy cleanup now permits migration of the tiered version instead of falsely counting it as moved.
Verification: Regression coverage: TestPoolsDecommissionContinuesPastStuckBucket, TestPoolMetaDecommissionCancellationIsTerminal, TestDecommissionCancellationSurvivesReload, TestDecommissionMovesRestoredCopyPastDeadline. These tests passed in the preserved 2026-11-08 validation of bb31c2618; their pass records and the validation log hashes were checked during this audit.
Result: Unrelated buckets can move, and failed/canceled work remains accurately recorded. An unconfigured tier can still block final completion; its durable ownership record is deliberately retained.
Delivery status: the fix is in public main at 16738c230. Closing as completed in source. The latest published server release remains RELEASE.2026-10-26T00-00-00Z, which does not contain these commits.
Activity
Vonng commentedon Nov 9, 2026
Fix: 852e2a670, 96b3a19d0, b524fc4fb, 5cb91e7d7.
Continue past failed buckets while retaining the first error, stop promptly on cancellation, and retire a bucket only after its completion checks pass. Preserve cancellation through finalization and reload. A refused restored-copy cleanup now permits migration of the tiered version instead of falsely counting it as moved.
Verification: Regression coverage:
TestPoolsDecommissionContinuesPastStuckBucket,TestPoolMetaDecommissionCancellationIsTerminal,TestDecommissionCancellationSurvivesReload,TestDecommissionMovesRestoredCopyPastDeadline. These tests passed in the preserved 2026-11-08 validation ofbb31c2618; their pass records and the validation log hashes were checked during this audit.Result: Unrelated buckets can move, and failed/canceled work remains accurately recorded. An unconfigured tier can still block final completion; its durable ownership record is deliberately retained.
Delivery status: the fix is in public
mainat16738c230. Closing as completed in source. The latest published server release remainsRELEASE.2026-10-26T00-00-00Z, which does not contain these commits.