Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TiKV] Introduce raft-engine.prefill-for-recycle configuration. #12826

Merged
merged 4 commits into from
Mar 23, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1809,6 +1809,15 @@ Configuration items related to Raft Engine.
+ Determines whether to recycle stale log files in Raft Engine. When it is enabled, logically purged log files will be reserved for recycling. This reduces the long tail latency on write workloads.
+ Default value: `false`

### `prefill-for-recycle` <span class="version-mark">New in 7.0.0</span>
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved

> **Note:**
>
> This configuration item is only available when [`enable-log-recycle`](#enable-log-recycle-new-in-v630) >= 2.
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved

+ Whether to generate empty log files for log recycling in Raft Engine. When it is enabled, Raft Engine will automatically fill a batch of empty log files for log recycling during initialization, making log recycling effective immediately after initialization.
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved
+ Default value: `false`

## security

Configuration items related to security.
Expand Down