Skip to content

Commit

Permalink
tidb config doc: coprocessor request timeout (#15666)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpadeA-Tang authored Dec 12, 2023
1 parent c8a1d8e commit d2f02a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions releases/release-7.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ Compared with the previous LTS 7.1.0, 7.5.0 includes new features, improvements,

| Configuration file | Configuration parameter | Change type | Description |
| -------- | -------- | -------- | -------- |
| TiDB | [`tikv-client.copr-req-timeout`](/tidb-configuration-file.md#copr-req-timeout-new-in-v750) | Newly added | Sets the timeout of a single Coprocessor request. |
| TiKV | [`raftstore.region-compact-min-redundant-rows`](/tikv-configuration-file.md#region-compact-min-redundant-rows-new-in-v710) | Modified | Sets the number of redundant MVCC rows required to trigger RocksDB compaction. Starting from v7.5.0, this configuration item takes effect for the `"raft-kv"` storage engine. |
| TiKV | [`raftstore.region-compact-redundant-rows-percent`](/tikv-configuration-file.md#region-compact-redundant-rows-percent-new-in-v710) | Modified | Sets the percentage of redundant MVCC rows required to trigger RocksDB compaction. Starting from v7.5.0, this configuration item takes effect for the `"raft-kv"` storage engine. |
| TiKV | [`raftstore.evict-cache-on-memory-ratio`](/tikv-configuration-file.md#evict-cache-on-memory-ratio-new-in-v750) | Newly added | When the memory usage of TiKV exceeds 90% of the system available memory, and the memory occupied by Raft entry cache exceeds the `evict-cache-on-memory-ratio` of used memory, TiKV evicts the Raft entry cache. |
Expand Down
10 changes: 10 additions & 0 deletions tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,16 @@ Configuration items related to opentracing.reporter.
- The threshold of the TiKV load. If the TiKV load exceeds this threshold, more `batch` packets are collected to relieve the pressure of TiKV. It is valid only when the value of `tikv-client.max-batch-size` is greater than `0`. It is recommended not to modify this value.
- Default value: `200`

### `copr-req-timeout` <span class="version-mark">New in v7.5.0</span>

> **Warning:**
>
> This configuration might be deprecated in future versions. **DO NOT** change the value of this configuration.
+ The timeout of a single Coprocessor request.
+ Default value: `60`
+ Unit: second

## tikv-client.copr-cache <span class="version-mark">New in v4.0.0</span>

This section introduces configuration items related to the Coprocessor Cache feature.
Expand Down

0 comments on commit d2f02a4

Please sign in to comment.