Update sentinel support to allow multiple sentinel hosts
Multiple sentinel hosts are now allowed by listing the additional hosts as multiple 'sentinel_fallback' parameters. These are combined with the first sentinel host to create a list that is provided to Sentinel class constructor. This provides safety in the case when the first (or any other) sentinel host goes down. Tests are run twice: once with fallbacks, once without. Change-Id: Ie0a134f02617e8552a87c8bcd49996daaba07f4e
This commit is contained in:
@@ -15,7 +15,7 @@ API, some of them have different properties:
|
||||
on timeout (heartbeats, locks, etc) so are less resilient than other
|
||||
backends.
|
||||
|
||||
* `redis`_ is a basic implementation and provides some resiliency
|
||||
* `redis`_ is a basic implementation and provides reasonable resiliency
|
||||
when used with redis-sentinel. A lot of the features provided in tooz are
|
||||
based on timeout (heartbeats, locks, etc) so are less resilient than other
|
||||
backends.
|
||||
|
||||
Reference in New Issue
Block a user