Skip to content

Commit ee77cde

Browse files
committed
add circuit breaker variable
Signed-off-by: Ryan Leung <[email protected]>
1 parent 914d41d commit ee77cde

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
@@ -6052,6 +6052,16 @@ For details, see [Identify Slow Queries](/identify-slow-queries.md).
60526052
> - `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.
60536053
> - `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.
60546054
6055+
6056+
### tidb_cb_pd_metadata_error_rate_threshold_pct
6057+
6058+
- Scope: GLOBAL
6059+
- Persists to cluster: Yes
6060+
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
6061+
- Default value: `0`
6062+
- Range: `[0, 100]`
6063+
- This variable controls whether TiDB triggers the circuit breaker according to the error rate percentage of the specific requests sending to PD.
6064+
60556065
### tidb_ttl_delete_rate_limit <span class="version-mark">New in v6.5.0</span>
60566066
60576067
> **Note:**

0 commit comments

Comments
 (0)