Commit 3e8d2c3
committed
Fix a small bug in the merge schedule
A small bug related to the merge schedule and union levels was unearted after
recent changes to key generators for the state machine tests.
```
❯ cabal run lsm-tree-test -- --quickcheck-replay="(SMGen 13447116701882578385 16048829213438376903,35)" -p '$NF=="propLockstep_RealImpl_MockFS_IO"'
lsm-tree
Test.Database.LSMTree.StateMachine
propLockstep_RealImpl_MockFS_IO: FAIL (28.54s)
*** Failed! Assertion failed (after 1 test and 196 shrinks):
...
1 out of 1 tests failed (28.54s)
```
The bug was that the last level was always removing `Delete` entries even if
there was union level. This is now fixed.1 parent 32be305 commit 3e8d2c3
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
| 669 | + | |
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
| 710 | + | |
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
| |||
0 commit comments