Make replica to be read-only without having own server_id in _cluster
This patch also changes box.info.server output for this case.
Showing
- src/box/box.cc 13 additions, 2 deletionssrc/box/box.cc
- src/box/box.h 6 additions, 1 deletionsrc/box/box.h
- src/box/cluster.cc 2 additions, 0 deletionssrc/box/cluster.cc
- src/box/lua/info.cc 8 additions, 8 deletionssrc/box/lua/info.cc
- src/errcode.h 1 addition, 1 deletionsrc/errcode.h
- test/box/misc.result 15 additions, 15 deletionstest/box/misc.result
- test/lib/sql_ast.py 1 addition, 1 deletiontest/lib/sql_ast.py
- test/replication/hot_standby.result 1 addition, 1 deletiontest/replication/hot_standby.result
- test/replication/hot_standby.test.lua 1 addition, 1 deletiontest/replication/hot_standby.test.lua
- test/replication/readonly.result 41 additions, 0 deletionstest/replication/readonly.result
- test/replication/readonly.test.py 46 additions, 0 deletionstest/replication/readonly.test.py
- test/replication/swap.result 1 addition, 1 deletiontest/replication/swap.result
- test/replication/swap.test.py 1 addition, 1 deletiontest/replication/swap.test.py
Loading
Please register or sign in to comment