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
This commit is contained in:
Devananda van der Veen 2014-03-09 07:22:26 -07:00
parent ff96647ce1
commit 394dccc958
2 changed files with 10 additions and 8 deletions

View File

@ -39,12 +39,13 @@
# partitions is (2^hash_partition_exponent). (integer value)
#hash_partition_exponent=16
# 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 more quickly if a
# conductor instance is terminated. (integer value)
#hash_distribution_replicas=2
# [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 more quickly if a conductor instance is terminated.
# (integer value)
#hash_distribution_replicas=1
#

View File

@ -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 '