applier: fix not releasing the latch on apply_synchro_row() fail
Once apply_synchro_row() failed, applier_apply_tx() would simply raise an error without unlocking replica latch. This lead to all the appliers hanging indefinitely on trying to lock the latch for this replica. In scope of #5566
Showing
- changelogs/unreleased/applier-hang-synchro.md 4 additions, 0 deletionschangelogs/unreleased/applier-hang-synchro.md
- src/box/applier.cc 2 additions, 2 deletionssrc/box/applier.cc
- test/replication/hang_on_synchro_fail.result 130 additions, 0 deletionstest/replication/hang_on_synchro_fail.result
- test/replication/hang_on_synchro_fail.test.lua 57 additions, 0 deletionstest/replication/hang_on_synchro_fail.test.lua
- test/replication/suite.cfg 1 addition, 0 deletionstest/replication/suite.cfg
- test/replication/suite.ini 1 addition, 1 deletiontest/replication/suite.ini
Loading
Please register or sign in to comment