Skip to content

Commit

Permalink
overhaul engine tests and fix bugs (#143)
Browse files Browse the repository at this point in the history
Overhaul unit tests for engine. Discover and fix several bugs:

- First rewrite entry could have larger index than first append entry, and causes panic
- Region tombstone in append queue is not applied to rewrite queue during recovery
- [NOT FIXED] State tombstone is lost during rewrite #141
- Rewrite queue log index could jump back, and causes panic
- [NOT FIXED] Recreated region is deleted after rewrite #142

Signed-off-by: tabokie <xy.tao@outlook.com>
  • Loading branch information
tabokie committed Nov 9, 2021
1 parent 7c2c239 commit b614f96
Show file tree
Hide file tree
Showing 7 changed files with 715 additions and 386 deletions.
Loading

0 comments on commit b614f96

Please sign in to comment.