It seems that MVCC engine in raw and buggy. There are some tests, all of them pass, but we need much more.
I think there must be a random test that check a lot of cases.
- one or more indexes
- different index types
- different operations
- different order of operations
Of cause all the problems found must be fixed.