Option | defaultSegmentReplicationFactor | |
Introduced Version | 1.122 | |
Description | Specifies the number of replicas each segment file will have. | |
Default | 2 |
Specifies the number of replicas each segment file will have. LogScale can handle losing all but one replica before data loss occurs. Segment files stored in bucket storage will not be lost, even if all replicas are lost.
Defaults to 2
if the value is not explicitly
set, unless there is only one node in the cluster storing
segments, or if USING_EPHEMERAL_DISKS
environment
variable is set to true
. If necessary, a
different default can be explicitly set using the
DEFAULT_SEGMENT_REPLICATION_FACTOR
environment
variable.