vinyl: test vylog error handling
Check that: - Error writing to vylog does not break vinyl permanently. - An index drop/truncate/create record that was not written to vylog due to a write error is buffered and flushed along with the next write. - A buffered index drop/truncate/create record that hasn't been flushed before restart is replayed on WAL recovery. Closes #2490
Showing
- src/box/vy_log.c 6 additions, 0 deletionssrc/box/vy_log.c
- src/errinj.h 1 addition, 0 deletionssrc/errinj.h
- test/vinyl/errinj_vylog.result 249 additions, 0 deletionstest/vinyl/errinj_vylog.result
- test/vinyl/errinj_vylog.test.lua 121 additions, 0 deletionstest/vinyl/errinj_vylog.test.lua
- test/vinyl/suite.ini 1 addition, 1 deletiontest/vinyl/suite.ini
Loading
Please register or sign in to comment