gh-713: replica enters an infinite if the master has no xlogs
Add a fix and a test case. Propagate master error to the replica. The replica no longer enters into an infinite loop, but stops with a correct status in this case.
Showing
- src/box/replication.cc 2 additions, 4 deletionssrc/box/replication.cc
- test/xlog/missing.result 3 additions, 0 deletionstest/xlog/missing.result
- test/xlog/missing.test.py 1 addition, 0 deletionstest/xlog/missing.test.py
- test/xlog/panic_on_wal_error.result 136 additions, 0 deletionstest/xlog/panic_on_wal_error.result
- test/xlog/panic_on_wal_error.test.lua 73 additions, 0 deletionstest/xlog/panic_on_wal_error.test.lua
- test/xlog/replica.lua 12 additions, 0 deletionstest/xlog/replica.lua
Loading
Please register or sign in to comment