summaryrefslogtreecommitdiff
path: root/ironic/common/hash_ring.py
diff options
context:
space:
mode:
authorDevananda van der Veen <devananda.vdv@gmail.com>2014-03-09 07:22:26 -0700
committerDevananda van der Veen <devananda.vdv@gmail.com>2014-03-09 07:22:26 -0700
commit394dccc958c5bf248c5d25b90e3a10e5545e11d2 (patch)
tree52f279a5b170f6092c091d1f85a29c08adea793b /ironic/common/hash_ring.py
parentff96647ce1e70dd5fef7dfc417977226bbd23b97 (diff)
downloadironic-394dccc958c5bf248c5d25b90e3a10e5545e11d2.tar.gz
Mark hash_replicas as experimental
This feature was not completed during Icehouse. Change the config option default to '1' and mark it as experimental. Change-Id: I6bcf10d6518d367d637776b8f33f24070863505e
Diffstat (limited to 'ironic/common/hash_ring.py')
-rw-r--r--ironic/common/hash_ring.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ironic/common/hash_ring.py b/ironic/common/hash_ring.py
index 74bb2c7f3..bfae5c3d0 100644
--- a/ironic/common/hash_ring.py
+++ b/ironic/common/hash_ring.py
@@ -30,8 +30,9 @@ hash_opts = [
'load when rebalancing the ring, but more memory usage. '
'Number of partitions is (2^hash_partition_exponent).'),
cfg.IntOpt('hash_distribution_replicas',
- default=2,
- help='Number of hosts to map onto each hash partition. '
+ default=1,
+ help='[Experimental Feature] '
+ 'Number of hosts to map onto each hash partition. '
'Setting this to more than one will cause additional '
'conductor services to prepare deployment environments '
'and potentially allow the Ironic cluster to recover '