Commit ea6cd51
br/pkg/stream: preserve m2's IngestedSstPaths in MergeMigrations
MergeMigrations only appended m1's IngestedSstPaths, silently dropping
m2's. During truncate (MergeAndMigrateTo -> processExtFullBackup), every
merged layer's ext_backups/ directory became invisible to the cleanup
logic and stayed on storage forever. Today this is a storage leak; once
lease-based lock expiration lands, an auto-reclaimed read lock followed
by a truncate can strand SSTs that PiTR still needs.
ref #67819
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 801b1d3 commit ea6cd51
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| 617 | + | |
617 | 618 | | |
618 | 619 | | |
619 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2992 | 2992 | | |
2993 | 2993 | | |
2994 | 2994 | | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
0 commit comments