Skip to content

Fix: Do not modify updated_ts when unpausing all snapshots with target name#5766

Merged
crericha merged 1 commit intomainfrom
fix-snapshot-unpause
Apr 17, 2026
Merged

Fix: Do not modify updated_ts when unpausing all snapshots with target name#5766
crericha merged 1 commit intomainfrom
fix-snapshot-unpause

Conversation

@crericha
Copy link
Copy Markdown
Collaborator

Description

PR #5147 introduced an optimization to snapshot unpausing logic. Part of the logic unset the unpaused_ts for all snapshots will the same name as a promoted snapshots and also set their updated_ts to now. The latter had a side effect of having old snapshots appear newer than they actually were and skip garbage collection by the janitor.

The fix is to not set updated_ts.

Test Plan

The change is trivial and the original PR did not introduce any tests for the behavior, so not test to update either.

Checklist

  • I have run make style and fixed any issues
  • I have added tests for my changes (if applicable)
  • All existing tests pass (make fast-test)
  • My commits are signed off (git commit -s) per the DCO

@crericha crericha requested a review from izeigerman April 16, 2026 22:00
…t name

Signed-off-by: Chris Rericha <chris@tobikodata.com>
@crericha crericha force-pushed the fix-snapshot-unpause branch from 21ae282 to b5e3049 Compare April 16, 2026 22:04
@crericha crericha merged commit da2e5fc into main Apr 17, 2026
31 checks passed
@crericha crericha deleted the fix-snapshot-unpause branch April 17, 2026 16:04
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