Skip to content

Commit

Permalink
Merge pull request #17601 from jordanlewis/min_wal_sync_zero
Browse files Browse the repository at this point in the history
settings: min_wal_sync_interval defaults to 0ms
  • Loading branch information
jordanlewis committed Aug 11, 2017
2 parents f864bf4 + 2b98a1a commit eef2e04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/settings/cluster/settings.go
Expand Up @@ -346,7 +346,7 @@ func MakeClusterSettings() *Settings {
s.MinWALSyncInterval = r.RegisterDurationSetting(
"rocksdb.min_wal_sync_interval",
"minimum duration between syncs of the RocksDB WAL",
1*time.Millisecond)
0*time.Millisecond)

// EnableLoadBasedLeaseRebalancing controls whether lease rebalancing is done
// via the new heuristic based on request load and latency or via the simpler
Expand Down
2 changes: 1 addition & 1 deletion pkg/sql/logictest/testdata/logic_test/show_source
Expand Up @@ -66,7 +66,7 @@ kv.raft_log.synchronize true b set to t
kv.snapshot_rebalance.max_rate 2.0 MiB z the rate limit (bytes/sec) to use for rebalance snapshots
kv.snapshot_recovery.max_rate 8.0 MiB z the rate limit (bytes/sec) to use for recovery snapshots
kv.transaction.max_intents 100000 i maximum number of write intents allowed for a KV transaction
rocksdb.min_wal_sync_interval 1ms d minimum duration between syncs of the RocksDB WAL
rocksdb.min_wal_sync_interval 0s d minimum duration between syncs of the RocksDB WAL
server.declined_reservation_timeout 1s d the amount of time to consider the store throttled for up-replication after a reservation was declined
server.failed_reservation_timeout 5s d the amount of time to consider the store throttled for up-replication after a failed reservation call
server.remote_debugging.mode local s set to enable remote debugging, localhost-only or disable (any, local, off)
Expand Down

0 comments on commit eef2e04

Please sign in to comment.