Skip to content

Commit

Permalink
tikv,pd: add config of min-resolved-ts (#14160) (#14191)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jun 12, 2023
1 parent 69997f4 commit b7adde6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions pd-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ pd-server 相关配置项。
>
> 如果是从 v4.0 升级至当前版本,升级后的 `flow-round-by-digit` 行为和升级前的 `trace-region-flow` 行为默认保持一致:如果升级前 `trace-region-flow` 为 false,则升级后 `flow-round-by-digit` 为 127;如果升级前 `trace-region-flow` 为 true,则升级后 `flow-round-by-digit` 为 3。
### `min-resolved-ts-persistence-interval` <span class="version-mark">从 v6.0.0 版本开始引入</span>

+ 设置 PD leader 对集群中 Resolved TS 最小值进行持久化的间隔时间。如果该值设置为 `0`,表示禁用该功能。
+ 默认值:`"0s"`
+ 最小值:`"0s"`
+ 单位:秒

## security

安全相关配置项。
Expand Down
6 changes: 3 additions & 3 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -861,10 +861,10 @@ raftstore 相关的配置项。
+ 默认值:1MB
+ 最小值:0

### `report-min-resolved-ts-interval`
### `report-min-resolved-ts-interval` <span class="version-mark">从 v6.0.0 版本开始引入</span>

+ 设置 PD leader 收到 Resolved TS 的最小间隔时间。如果该值设置为 `0`,表示禁用该功能。
+ 默认值:`"1s"`,即最小正值
+ 设置 PD leader 收到 Resolved TS 的间隔时间。如果该值设置为 `0`,表示禁用该功能。
+ 默认值:`"0s"`
+ 最小值:0
+ 单位:秒

Expand Down

0 comments on commit b7adde6

Please sign in to comment.