Skip to content

PB-15775: Track one resource leaving a shared backup - #475

Merged
lalat-das merged 1 commit into
pb-15775-rcbfrom
PB-15775-resource-release
Nov 23, 2026
Merged

lalat-das merged 1 commit into
pb-15775-rcbfrom
PB-15775-resource-release

Conversation

@lalat-das

Copy link
Copy Markdown
Collaborator

Retention never writes these. A scheduled point ages out through the schedule prune, which takes the whole backup. These record the deliberate act - a compliance erasure, an unbind, or a catalog row removed with its points - where the backup must survive for the members that remain.

  • ResourceDeletionInfo, with a state covering the three steps that are not atomic: volumes, the per-namespace object, the point row
  • DeletePending carries blocking_backup_ref, the later backup whose incremental still needs this snapshot
  • resources_pending_deletion and resources_deleted on BackupInfo

The membership fields are never edited, so resources_deleted is the only record that a member departed.

What this PR does / why we need it:

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

Special notes for your reviewer:

Retention never writes these.  A scheduled point ages out through the
schedule prune, which takes the whole backup.  These record the
deliberate act - a compliance erasure, an unbind, or a catalog row
removed with its points - where the backup must survive for the
members that remain.

- ResourceDeletionInfo, with a state covering the three steps that are
  not atomic: volumes, the per-namespace object, the point row
- DeletePending carries blocking_backup_ref, the later backup whose
  incremental still needs this snapshot
- resources_pending_deletion and resources_deleted on BackupInfo

The membership fields are never edited, so resources_deleted is the
only record that a member departed.
@lalat-das
lalat-das merged commit 09469ce into pb-15775-rcb Nov 23, 2026
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