Tarantool hot standby mode. Issue #775
Add hot_standby flag to box.cfg. Disable more than one instance on one snap dir without hotstandby mode. Hot standby will recovery all logs until snap dir lock acquired, then will bind and listen on uri. In normal mode tarantool will bind uri before recovery.
Showing
- src/box/box.cc 77 additions, 10 deletionssrc/box/box.cc
- src/box/box.h 2 additions, 1 deletionsrc/box/box.h
- src/box/errcode.h 4 additions, 3 deletionssrc/box/errcode.h
- src/box/iproto.cc 63 additions, 10 deletionssrc/box/iproto.cc
- src/box/iproto.h 4 additions, 1 deletionsrc/box/iproto.h
- src/box/lua/cfg.cc 2 additions, 1 deletionsrc/box/lua/cfg.cc
- src/box/lua/load_cfg.lua 3 additions, 1 deletionsrc/box/lua/load_cfg.lua
- test/app-tap/init_script.result 23 additions, 22 deletionstest/app-tap/init_script.result
- test/box/admin.result 2 additions, 0 deletionstest/box/admin.result
- test/box/cfg.result 4 additions, 0 deletionstest/box/cfg.result
- test/box/misc.result 2 additions, 1 deletiontest/box/misc.result
- test/replication/hot_standby.lua 1 addition, 0 deletionstest/replication/hot_standby.lua
- test/wal_off/snapshot_stress.result 9 additions, 3 deletionstest/wal_off/snapshot_stress.result
- test/wal_off/snapshot_stress.test.lua 9 additions, 3 deletionstest/wal_off/snapshot_stress.test.lua
Loading
Please register or sign in to comment