recovery: build secondary index in hot standby mode
End recovery (which means building secondary indexes) just after last known log file was read. This allows fast switch to hot standby instance without any delay for secondary index to be built. Due to engine_end_recovery carryover, xdir_collect_inprogress, previously being called from it, is now moved to garbage collector. Closes #4135
Showing
- src/box/box.cc 1 addition, 2 deletionssrc/box/box.cc
- src/box/gc.c 1 addition, 0 deletionssrc/box/gc.c
- src/box/memtx_engine.c 1 addition, 1 deletionsrc/box/memtx_engine.c
- test/box/errinj.result 0 additions, 12 deletionstest/box/errinj.result
- test/box/errinj.test.lua 0 additions, 4 deletionstest/box/errinj.test.lua
- test/replication/hot_standby.result 16 additions, 0 deletionstest/replication/hot_standby.result
- test/replication/hot_standby.test.lua 2 additions, 0 deletionstest/replication/hot_standby.test.lua
Loading
Please register or sign in to comment