Skip to content

Commit

Permalink
update doc on wal-recovery-mode and use-direct-io-for-flush-and-compa…
Browse files Browse the repository at this point in the history
…ction

Signed-off-by: ekexium <[email protected]>
  • Loading branch information
ekexium committed Aug 13, 2021
1 parent 13820be commit 479dc41
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,10 @@ Configuration items related to RocksDB

+ WAL recovery mode
+ Optional values: `0` (`TolerateCorruptedTailRecords`), `1` (`AbsoluteConsistency`), `2` (`PointInTimeRecovery`), `3` (`SkipAnyCorruptedRecords`)
+ `0` (`TolerateCorruptedTailRecords`): tolerate incomplete record in trailing data on all logs
+ `1` (`AbsoluteConsistency`): we don't expect to find any corruption in the WAL
+ `2` (`PointInTimeRecovery`): recover to point-in-time consistency
+ `3` (`SkipAnyCorruptedRecords`): recovery after a disaster
+ Default value: `2`
+ Minimum value: `0`
+ Maximum value: `3`
Expand Down Expand Up @@ -767,7 +771,8 @@ Configuration items related to RocksDB

### `use-direct-io-for-flush-and-compaction`

+ Determines whether to use `O_DIRECT` for both reads and writes in background flush and compactions
+ Determines whether to use `O_DIRECT` for both reads and writes in background flush and compactions.
+ In general enabling it can degrade performance.
+ Default value: `false`

### `rate-bytes-per-sec`
Expand Down

0 comments on commit 479dc41

Please sign in to comment.