Commit 58119ff
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 2918e32 commit 58119ff
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
676 | | - | |
| 676 | + | |
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| |||
0 commit comments