From ac50289a3114d4c47d84284ac24950218ed061db Mon Sep 17 00:00:00 2001 From: Denys Zhdanov Date: Wed, 14 Feb 2018 12:09:18 +0100 Subject: [PATCH] Fixing carbon router hash --- carbonate/cluster.py | 1 + 1 file changed, 1 insertion(+) diff --git a/carbonate/cluster.py b/carbonate/cluster.py index 9109858..9886f2f 100644 --- a/carbonate/cluster.py +++ b/carbonate/cluster.py @@ -28,6 +28,7 @@ def __init__(self, config, cluster='main'): class Settings(object): REPLICATION_FACTOR = config.replication_factor(cluster) DIVERSE_REPLICAS = False + ROUTER_HASH_TYPE = None r = ConsistentHashingRouter(Settings()) # 'hash_type' was added only in carbon 1.0.2 or master