Skip to content
Snippets Groups Projects
Commit 8095ca65 authored by Georgy Kirichenko's avatar Georgy Kirichenko Committed by Konstantin Osipov
Browse files

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.
parent b3f82caf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment