Commit 99dcfb5
Guard the compaction test against a no-op rewrite
rewrite_data_files commits no snapshot when there's nothing to compact, which
would silently shift the fixture's snapshot indices and make the double-count
test scan to the wrong (also non-append) snapshot while still passing. Assert
snapshots[3] really is the compaction (operation=replace) so a no-op fails loudly.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 7f675ab commit 99dcfb5
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
1318 | 1319 | | |
1319 | 1320 | | |
1320 | 1321 | | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
1321 | 1328 | | |
1322 | 1329 | | |
1323 | 1330 | | |
| |||
0 commit comments