raft: don't drop GC when restart relay recovery
When a node becomes a leader, it restarts relay recovery cursors to re-send all the data since the last acked row. But during recovery restart the relay lost the trigger, which used to update GC state in TX thread. The patch preserves the trigger. Follow up for #5433
Showing
- src/box/relay.cc 3 additions, 1 deletionsrc/box/relay.cc
- test/replication/gh-5433-election-restart-recovery.result 55 additions, 0 deletionstest/replication/gh-5433-election-restart-recovery.result
- test/replication/gh-5433-election-restart-recovery.test.lua 28 additions, 0 deletionstest/replication/gh-5433-election-restart-recovery.test.lua
Please register or sign in to comment