replication: applier state channel can be closed
If applier state channel is closed by connect_all cleanup code then applier_connect function could throw an unwanted exception on a write to this channel. Interrupt applier_pause() on fiber_cancel(). Applier orchestration uses fiber_cancel() to stop applier, so applier_pause() should exit if the fiber is cancelled. Add test. Fixes #2991.
Showing
- src/box/applier.cc 4 additions, 1 deletionsrc/box/applier.cc
- test/replication/misc.result 16 additions, 0 deletionstest/replication/misc.result
- test/replication/misc.test.lua 9 additions, 0 deletionstest/replication/misc.test.lua
- test/replication/suite.cfg 1 addition, 0 deletionstest/replication/suite.cfg
Loading
Please register or sign in to comment