When reconnecting to a RabbitMQ cluster
with mirrored queues in use, the attempt to release the
connection can hang "indefinitely" somewhere deep down
in Kombu. Blocking the thread for a bit prior to
release seems to kludge around the problem where it is
otherwise reproduceable.
The value 5.0 fits for low perfomance environments as well.
Cherry-picked from Oslo.messaging:
fcd51a67d18a9e947ae5f57eafa43ac756d1a5a8
Related-bug: #856764
Reviewed: https:/ /review. openstack. org/95489 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=06eb8bc5322 5c2b58cd2ffeeda d17b7428b5f1de
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 06eb8bc53225c2b 58cd2ffeedad17b 7428b5f1de
Author: Bogdan Dobrelya <email address hidden>
Date: Mon May 26 13:28:40 2014 +0300
Sync kombu_reconnect _delay from Oslo
When reconnecting to a RabbitMQ cluster
with mirrored queues in use, the attempt to release the
connection can hang "indefinitely" somewhere deep down
in Kombu. Blocking the thread for a bit prior to
release seems to kludge around the problem where it is
otherwise reproduceable.
The value 5.0 fits for low perfomance environments as well.
Cherry-picked from Oslo.messaging: a9e947ae5f57eaf a43ac756d1a5a8
fcd51a67d18
Related-bug: #856764
Change-Id: Ifadda4dd9122df 9ccb4ecf560ce3d b3e38adf2b9
Signed-off-by: Bogdan Dobrelya <email address hidden>