Skip to content

Commit

Permalink
update doc on wal-recovery-mode
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <ekexium@gmail.com>
  • Loading branch information
ekexium committed Aug 13, 2021
1 parent 596898a commit 519058d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,13 @@ rocksdb 相关的配置项。

### `wal-recovery-mode`

+ WAL 恢复模式,取值:0 (TolerateCorruptedTailRecords),1 (AbsoluteConsistency),2 (PointInTimeRecovery),3 (SkipAnyCorruptedRecords)。
+ WAL 恢复模式,取值:0, 1, 2, 3。

+ 0 (TolerateCorruptedTailRecords): 容忍所有日志的尾部数据记录不完整。
+ 1 (AbsoluteConsistency): WAL 中不应含有任何损坏的数据。
+ 2 (PointInTimeRecovery): 时间点恢复。
+ 3 (SkipAnyCorruptedRecords): 灾难后恢复,跳过 WAL 中损坏的数据。

+ 默认值:2
+ 最小值:0
+ 最大值:3
Expand Down

0 comments on commit 519058d

Please sign in to comment.