vinyl: fix broken rollback to savepoint
Now vinyl's rollback to TX savepoint doesn't work in case when one TX has several statements modifying the same key. A simple example is presented in gh ticket 2589. Fix it. Add a big test that compares vinyl with memtx in case of many failing (catched with pcall) statements done in a transaction. Fixes #2589
Showing
- src/box/vinyl.c 11 additions, 0 deletionssrc/box/vinyl.c
- test/engine/iterator.result 34 additions, 0 deletionstest/engine/iterator.result
- test/engine/iterator.test.lua 16 additions, 0 deletionstest/engine/iterator.test.lua
- test/vinyl/iterator.result 74 additions, 0 deletionstest/vinyl/iterator.result
- test/vinyl/iterator.test.lua 46 additions, 0 deletionstest/vinyl/iterator.test.lua
Loading
Please register or sign in to comment