Skip to content

Commit

Permalink
Enable fast replica rebuilding by default.
Browse files Browse the repository at this point in the history
- Snapshot Data Integrity: fast-check
- Immediate Snapshot Data Integrity Check After Creating a Snapshot: false
- Fast Replica Rebuild Enabled: true

Longhorn 5023

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit committed Dec 8, 2022
1 parent 02e3077 commit 2d33f0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ var (
Type: SettingTypeString,
Required: true,
ReadOnly: false,
Default: string(longhorn.SnapshotDataIntegrityDisabled),
Default: string(longhorn.SnapshotDataIntegrityFastCheck),
Choices: []string{
string(longhorn.SnapshotDataIntegrityDisabled),
string(longhorn.SnapshotDataIntegrityEnabled),
Expand Down Expand Up @@ -992,12 +992,12 @@ var (

SettingDefinitionFastReplicaRebuildEnabled = SettingDefinition{
DisplayName: "Fast Replica Rebuild Enabled",
Description: "Enabling this setting will support the fast replica rebuild. The feature relies on the checksum of snapshot disk files, so the feature is setting the snapshot-data-integrity to **enable** or **fast-check** is a prerequisite.",
Description: "This setting enable the fast replica rebuilding feature. It relies on the checksums of snapshot disk files, so setting the snapshot-data-integrity to **enable** or **fast-check** is a prerequisite.",
Category: SettingCategoryGeneral,
Type: SettingTypeBool,
Required: true,
ReadOnly: false,
Default: "false",
Default: "true",
}
)

Expand Down

0 comments on commit 2d33f0a

Please sign in to comment.