vinyl: drop useless vy_read_view->is_aborted flag
It is supposed to abort an iterator that read a statement reverted after a failed WAL write. However, we will abort such an iterator anyway - see vy_tx_abort_readers(). So let's drop the useless flag. It turned out that we never tested such a case (try grepping "read view is aborted" error). So let's also add a functional test for it.
Showing
- src/box/vinyl.c 1 addition, 1 deletionsrc/box/vinyl.c
- src/box/vy_read_view.h 0 additions, 6 deletionssrc/box/vy_read_view.h
- src/box/vy_tx.c 0 additions, 6 deletionssrc/box/vy_tx.c
- test/vinyl/errinj_tx.result 60 additions, 0 deletionstest/vinyl/errinj_tx.result
- test/vinyl/errinj_tx.test.lua 28 additions, 0 deletionstest/vinyl/errinj_tx.test.lua
Loading
Please register or sign in to comment