Skip to content

PB-15775: Retention is a count, not a period - #474

Merged
lalat-das merged 1 commit into
pb-15775-rcbfrom
PB-15775-retain-count
Nov 22, 2026
Merged

lalat-das merged 1 commit into
pb-15775-rcbfrom
PB-15775-retain-count

Conversation

@lalat-das

Copy link
Copy Markdown
Collaborator

A period cannot promise a surviving copy. Four failed nightly runs against a five-day period delete the last good copy on day six. A count counts successful points, so it cannot.

  • ProtectionIntent: reserve recoverability_period, add retain
  • RecoveryPointInfo: reserve expiry_time, since a scheduled point now leaves when the count passes it
  • An independent checkpoint keeps its own expiry on the backup: it belongs to no intent and so to no count

Generated files regenerated with make.

What this PR does / why we need it:

Which issue(s) this PR fixes (optional)
Closes #

Special notes for your reviewer:

A period cannot promise a surviving copy.  Four failed nightly runs
against a five-day period delete the last good copy on day six.  A
count counts successful points, so it cannot.

- ProtectionIntent: reserve recoverability_period, add retain
- RecoveryPointInfo: reserve expiry_time, since a scheduled point now
  leaves when the count passes it
- An independent checkpoint keeps its own expiry on the backup: it
  belongs to no intent and so to no count

Generated files regenerated with make.
@lalat-das
lalat-das merged commit f50c595 into pb-15775-rcb Nov 22, 2026
1 check passed
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