Commit 69fd9ff
committed
Restore safe parts of 0278980 CQ shared store GC improvements
Restore three independent improvements from the reverted commit that
are unrelated to the broken current_file_removes mechanism:
- Relax index_update_fields assertion: true= -> _= so a missing key
does not crash the process
- Add prioritise_cast/3 to rabbit_msg_store_gc so delete requests are
processed before compaction requests, avoiding unnecessary compaction
of files that are already pending deletion
- compact_file/2 early-exit guard was already present after the revert1 parent c4db698 commit 69fd9ff
2 files changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | | - | |
| 1183 | + | |
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
1188 | | - | |
1189 | | - | |
| 1188 | + | |
1190 | 1189 | | |
1191 | 1190 | | |
1192 | 1191 | | |
1193 | | - | |
1194 | | - | |
| 1192 | + | |
1195 | 1193 | | |
1196 | 1194 | | |
1197 | 1195 | | |
| |||
1656 | 1654 | | |
1657 | 1655 | | |
1658 | 1656 | | |
1659 | | - | |
| 1657 | + | |
1660 | 1658 | | |
1661 | 1659 | | |
1662 | 1660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
0 commit comments