Feature #2448
Make the number of replicas non-zero when replication is allowed.
Status:
Closed
Priority:
Normal
Assignee:
Andrew Pippin
Category:
d1_client_cli
Target version:
Start date:
2012-03-07
Due date:
% Done:
100%
Estimated time:
1.00 h
Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:
Description
The number of replicas is independent of whether or not replicas are allowed. As a result, a user may enable replication, but forget to increment the number of replicas above 0, essentially leaving replication turned off.
History
#1 Updated by Andrew Pippin over 12 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
If the user turns on replication ("@allowreplication@") and if the number of allowed replicas is 0, change the number of replicas to a default value.
Since the default value of replicas is buried in the Member Node without a way to get it, the default number of replicas is being defined as 3 (see: @d1_common.const.DEFAULT_NUMBER_OF_REPLICAS@ in @const.py@).
(SVN: 7416)