Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ratis-docs/src/site/markdown/configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Ratis will temporarily stall the new IO Tasks.
|:----------------|:--------------------------------------------|
| **Description** | max file size for a single Raft Log Segment |
| **Type** | SizeInBytes |
| **Default** | 8MB |
| **Default** | 32MB |

| **Property** | `raft.server.log.segment.cache.num.max` |
|:----------------|:----------------------------------------------------------------------------|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ static void setPurgePreservationLogNum(RaftProperties properties, long purgePres
}

String SEGMENT_SIZE_MAX_KEY = PREFIX + ".segment.size.max";
SizeInBytes SEGMENT_SIZE_MAX_DEFAULT = SizeInBytes.valueOf("8MB");
SizeInBytes SEGMENT_SIZE_MAX_DEFAULT = SizeInBytes.valueOf("32MB");
static SizeInBytes segmentSizeMax(RaftProperties properties) {
return getSizeInBytes(properties::getSizeInBytes,
SEGMENT_SIZE_MAX_KEY, SEGMENT_SIZE_MAX_DEFAULT, getDefaultLog());
Expand Down