Project

General

Profile

Feature #2448

Make the number of replicas non-zero when replication is allowed.

Added by Andrew Pippin over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrew Pippin
Category:
d1_client_cli
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)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)