Skip to content

Commit bf8ec48

Browse files
committed
add circuit breaker variable
Signed-off-by: Ryan Leung <[email protected]>
1 parent 9e6c5df commit bf8ec48

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

system-variables.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5943,6 +5943,16 @@ For details, see [Identify Slow Queries](/identify-slow-queries.md).
59435943
> - `PARALLEL` and `PARALLEL-FAST` modes are incompatible with [`tidb_tso_client_batch_max_wait_time`](#tidb_tso_client_batch_max_wait_time-new-in-v530) and [`tidb_enable_tso_follower_proxy`](#tidb_enable_tso_follower_proxy-new-in-v530). If either [`tidb_tso_client_batch_max_wait_time`](#tidb_tso_client_batch_max_wait_time-new-in-v530) is set to a non-zero value or [`tidb_enable_tso_follower_proxy`](#tidb_enable_tso_follower_proxy-new-in-v530) is enabled, configuring `tidb_tso_client_rpc_mode` does not take effect, and TiDB always works in `DEFAULT` mode.
59445944
> - `PARALLEL` and `PARALLEL-FAST` modes are designed to reduce the average time for retrieving TS in TiDB. In situations with significant latency fluctuations, such as long-tail latency or latency spikes, these two modes might not provide any remarkable performance improvements.
59455945

5946+
5947+
### tidb_cb_pd_metadata_error_rate_threshold_pct
5948+
5949+
- Scope: GLOBAL
5950+
- Persists to cluster: Yes
5951+
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
5952+
- Default value: `0`
5953+
- Range: `[0, 100]`
5954+
- This variable controls whether TiDB triggers the circuit breaker according to the error rate percentage of the specific requests sending to PD.
5955+
59465956
### tidb_ttl_delete_rate_limit <span class="version-mark">New in v6.5.0</span>
59475957

59485958
> **Note:**

0 commit comments

Comments
 (0)