mirror of
https://github.com/ceph/ceph
synced 2025-03-06 08:20:12 +00:00
msgr: restart_queue when replacing existing pipe and taking over the queue
The queue may have been previously stopped (by discard_queue()), and needs to be restarted. Fixes consistent failures from the mon_recovery.py integration tests. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
5dfd2a512d
commit
f7d4e39740
@ -860,6 +860,7 @@ int SimpleMessenger::Pipe::accept()
|
||||
in_q = existing->in_q;
|
||||
in_q->lock.Lock();
|
||||
in_q->pipe = this;
|
||||
in_q->restart_queue();
|
||||
in_q->lock.Unlock();
|
||||
existing->in_q = new IncomingQueue(msgr->cct, existing);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user