Skip to content
Snippets Groups Projects
Commit d03cf46d authored by Ilya Kosarev's avatar Ilya Kosarev Committed by Kirill Yukhin
Browse files

replication: fix appliers pruning

During pruning of appliers some anon replicas might connect
from replicaset_follow called in another fiber. Therefore we need to
prune appliers of anon replicas first and, moreover, prune them one by
one instead of iterating them, as far as any of them might connect
while we are stopping the other one and it will break iteration.

Part of #4586
Closes #4643

(cherry picked from commit 36ff3c89)
parent c3b0b795
No related branches found
No related tags found
Loading
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