vinyl: rebuild .index in force-recovery mode
Re-create .index files in case of vy_run_recover error(). Old file will be deleted and a new index file will be created. Closes #2253 Closes #2395
Showing
- src/box/vy_index.c 9 additions, 1 deletionsrc/box/vy_index.c
- src/box/vy_run.c 190 additions, 40 deletionssrc/box/vy_run.c
- src/box/vy_run.h 19 additions, 0 deletionssrc/box/vy_run.h
- src/box/vy_stmt.c 21 additions, 2 deletionssrc/box/vy_stmt.c
- src/box/vy_stmt.h 19 additions, 1 deletionsrc/box/vy_stmt.h
- src/box/xlog.cc 28 additions, 9 deletionssrc/box/xlog.cc
- src/box/xlog.h 46 additions, 0 deletionssrc/box/xlog.h
- test/vinyl/force_recovery.lua 9 additions, 0 deletionstest/vinyl/force_recovery.lua
- test/vinyl/recover.result 132 additions, 0 deletionstest/vinyl/recover.result
- test/vinyl/recover.test.lua 41 additions, 0 deletionstest/vinyl/recover.test.lua
Loading
Please register or sign in to comment