fix(backup): pause the hot-repo prune and drop delete-marker expiry #884
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!884
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/pause-hot-prune"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
BackupHotFailedfired again on 2026-11-11 and 11-12: the 04:17 UTC prune ofrestic/hotstopped withFatal: failed finding blobs: id f05700b9… not found in repository. The repair in #883 held for one day only.Cause
Deleted objects came back. A version-listing diff of the hot repo between 11-10 and 11-12 shows 11 keys (8 packs, 2 index files, 1 snapshot) whose delete marker was gone and whose old version was current again. Every such version was still inside the 14-day COMPLIANCE lock.
The failing blob belonged to snapshot
4f8728ac.forgetdeleted it on 2026-10-31, later prunes removed its data, then it came back and pointed at nothing. The restored index files pointed at packs deleted on 11-02 and 11-03.The bucket lifecycle had a bucket-wide rule with
ExpiredObjectDeleteMarker. That should only remove a marker with no versions left under it. On a locked bucket there always is one, so the storage removed markers it should have kept.Change
backup_hot_prune_hour: "": the hourly run never prunes. Backups and hourlyforgetkeep running. The repo grows until prune is back.ExpiredObjectDeleteMarker, with a note never to add it. The hot-backup entry names the cause.Already done by hand
mc ilm rule import).checkreports no errors.Dry-run
--limit bitborg-prod --tags backup:changed=1 failed=0. Only the hot backup script changes (PRUNE_HOUR="04"toPRUNE_HOUR=""). No unit restarts.Follow-up
Re-enable prune (
"04") once a version-listing diff a week from now shows no restored objects.