From 20b375f186be76b5c301f4685a83e106506af079 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 5 Aug 2022 17:20:06 +0800 Subject: [PATCH] tikv: add config item "raw-min-ts-outlier-threshold" (#9787) --- tikv-configuration-file.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tikv-configuration-file.md b/tikv-configuration-file.md index 4f687caa427e9..c40225ad9433e 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -1611,6 +1611,17 @@ Configuration items related to TiCDC. + Default value: `6`, which means 6 tasks can be concurrent executed at most. + Note: The value of `incremental-scan-concurrency` must be greater than or equal to that of `incremental-scan-threads`; otherwise, TiKV will report an error at startup. +### `raw-min-ts-outlier-threshold` New in v6.2.0 + ++ The threshold at which TiKV checks whether the Resolved TS of RawKV is abnormal. ++ If the Resolved TS latency of a Region exceeds this threshold, the anomaly detection process is triggered. At this time, the Region whose Resolved TS latency exceeds 3 x [interquartile range](https://en.wikipedia.org/wiki/Interquartile_range) is considered as slow in lock resolution, and triggers TiKV-CDC to re-subscribe the data changes of the Region, which resets the lock resource status. ++ Default value: `60s` + +> **Warning:** +> +> - This configuration item will be deprecated in a future release. To avoid upgrade compatibility issues, it is **NOT** recommended to set this configuration item. +> - In most scenarios, you do not need to modify this configuration, because the slow lock resolution rarely happens. If this configuration value is set too small, the anomaly detection process might trigger false alarms, which causes data replication jitter. + ## resolved-ts Configuration items related to maintaining the Resolved TS to serve Stale Read requests.