Skip to content

Commit

Permalink
Disable Raft Engine by default
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jin19 committed Apr 1, 2022
1 parent 0727eca commit abdcdd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1324,13 +1324,14 @@ Configuration items related to Raft Engine.

> **Note:**
>
> - Raft Engine is an experimental feature. It is not recommended to use it in the production environment.
> - When you enable Raft Engine for the first time, TiKV transfers its data from RocksDB to Raft Engine. Therefore, you need to wait extra tens of seconds for TiKV to start.
> - The data format of Raft Engine in TiDB v5.4.0 is not compatible with earlier TiDB versions. Therefore, if you need to downgrade a TiDB cluster from v5.4.0 to an earlier version, **before** downgrading, disable Raft Engine by setting `enable` to `false` and restart TiKV for the configuration to take effect.
### `enable`

+ Determines whether to use Raft Engine to store Raft logs. When it is enabled, configurations of `raftdb` are ignored.
+ Default value: `"true"`
+ Default value: `"false"`

### `dir`

Expand Down

0 comments on commit abdcdd0

Please sign in to comment.