Commit f4924ec
test/crash_recovery_test_28: allow autocommitted-but-uncommitted row, mirror test_10
Same race the test_10 relaxation in 14e0659 already documented: each
loop iteration is "INSERT; dolt_commit('-A','-m',...)". The INSERT
autocommits at the SQL layer before the surrounding dolt_commit() runs,
so SIGKILL landing between them leaves a durable row in the working set
that no Dolt commit was ever recorded for. After recovery,
nRows == nLog + 1 is a legitimate state, not a corruption.
Test_10 had the identical "INSERT; dolt_commit" shape and was relaxed
exactly this way; test_28 was missed in that pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e9e8781 commit f4924ec
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1740 | 1740 | | |
1741 | 1741 | | |
1742 | 1742 | | |
1743 | | - | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
1744 | 1749 | | |
1745 | 1750 | | |
1746 | 1751 | | |
| |||
0 commit comments