Skip to content

Commit dd21fb7

Browse files
authored
Fix titan blob-run-mode options (pingcap#3941)
1 parent 5965a53 commit dd21fb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

storage-engine/titan-configuration.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ To adjust Titan-related parameters using TiUP, refer to [Modify the configuratio
114114

115115
To disable Titan, you can configure the `rocksdb.defaultcf.titan.blob-run-mode` option. The optional values for `blob-run-mode` are as follows:
116116

117-
- When the option is set to `kNormal`, Titan performs read and write operations normally.
118-
- When the option is set to `kReadnly`, all newly written values are written into RocksDB, regardless of the value size.
119-
- When the option is set to `KFallback`, all newly written values are written into RocksDB, regardless of the value size. Also, all compacted values stored in the Titan blob file are automatically moved back to RocksDB.
117+
- When the option is set to `normal`, Titan performs read and write operations normally.
118+
- When the option is set to `read-only`, all newly written values are written into RocksDB, regardless of the value size.
119+
- When the option is set to `fallback`, all newly written values are written into RocksDB, regardless of the value size. Also, all compacted values stored in the Titan blob file are automatically moved back to RocksDB.
120120

121-
To disable Titan, set `blob-run-mode = "kFallback"` and perform a full compaction using tikv-ctl. After that, check the monitoring metrics, confirm that the blob file size decreases to `0`. Then you can set `rocksdb.titan.enabled` to `false` and restart TiKV.
121+
To disable Titan, set `blob-run-mode = "fallback"` and perform a full compaction using tikv-ctl. After that, check the monitoring metrics, confirm that the blob file size decreases to `0`. Then you can set `rocksdb.titan.enabled` to `false` and restart TiKV.
122122

123123
> **Note:**
124124
>

0 commit comments

Comments
 (0)