Skip to content

Commit

Permalink
Merge pull request #93 from deniszh/DZ-carbon-fix
Browse files Browse the repository at this point in the history
Fixing carbon router hash
  • Loading branch information
deniszh authored Feb 14, 2018
2 parents 3b93659 + ac50289 commit 41181a3
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 41181a3

Please sign in to comment.