Skip to content

Commit

Permalink
Merge pull request #97416 from cockroachdb/blathers/backport-release-…
Browse files Browse the repository at this point in the history
…22.1-97398

release-22.1: storage: add guardrails to rocksdb.min_wal_sync_interval
  • Loading branch information
nvanbenschoten authored Feb 22, 2023
2 parents fda403b + bc76485 commit eb15383
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/storage/mvcc.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ var minWALSyncInterval = settings.RegisterDurationSetting(
"rocksdb.min_wal_sync_interval",
"minimum duration between syncs of the RocksDB WAL",
0*time.Millisecond,
settings.NonNegativeDurationWithMaximum(1*time.Second),
)

// MaxIntentsPerWriteIntentError sets maximum number of intents returned in
Expand Down

0 comments on commit eb15383

Please sign in to comment.