Details
-
Task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
This is for tracking purposes. There is already a TODO in the code about changing the default replication factor to 3. The default is 1 and isn't recommended for production use.
DEFINE_int32(default_num_replicas, 1, // TODO switch to 3 and fix SelectReplicas() "Default number of replicas for tables that do have the num_replicas set.");
https://github.com/cloudera/kudu/blob/master/src/kudu/master/catalog_manager.cc#L105
* Sets the number of replicas that each tablet will have. If not specified, it defaults to 1
* replica which isn't safe for production usage.
There may be other places that need updates.