oslo.messaging/oslo_messaging
John Eckersberg f2beb5eaf1 rabbit: shuffle hosts before building kombu URL
This restores behavior as it was back in the Juno cycle.  This was
changed in a refactor during the Kilo cycle (973301aa) when the kombu
failover_strategy was set to shuffle.  But the failover_strategy only
affects failovers; it does not influence which host receives the
initial connection.

Thus, if multiple hosts are given, the first host will receive all of
the initial connections.  By shuffling the hosts before building the
URL given to kombu, rudimentary load balancing is achieved and
connections are more evenly spread across broker nodes.

Change-Id: Ieecaf5f286f49302db29df9854359ef5d36b7a89
2015-10-02 13:47:21 -04:00
..
2015-09-25 10:07:05 -04:00
2015-09-25 06:23:52 +00:00
2015-05-07 12:07:47 +03:00