Skip to content

Commit

Permalink
Fixing carbon router hash
Browse files Browse the repository at this point in the history
  • Loading branch information
deniszh committed Feb 14, 2018
1 parent 3b93659 commit ac50289
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions carbonate/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac50289

Please sign in to comment.