Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

### `defaultSegmentReplicationFactor`

Option | `defaultSegmentReplicationFactor`
Description | Specifies the number of replicas each segment file will have.
Introduced Version | 1.122
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.

#### Enter search term