Skip to content

Commit 0d53ee2

Browse files
qiancaiti-chi-bot
authored andcommitted
This is an automated cherry-pick of pingcap#21204
Signed-off-by: ti-chi-bot <[email protected]>
1 parent d4a3a44 commit 0d53ee2

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

dynamic-config.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,16 @@ The following PD configuration items can be modified dynamically:
273273
| `cluster-version` | The cluster version |
274274
| `schedule.max-merge-region-size` | Controls the size limit of `Region Merge` (in MiB) |
275275
| `schedule.max-merge-region-keys` | Specifies the maximum numbers of the `Region Merge` keys |
276+
<<<<<<< HEAD
276277
| `schedule.patrol-region-interval` | Determines the frequency at which `replicaChecker` checks the health state of a Region |
278+
=======
279+
| `schedule.patrol-region-interval` | Determines the frequency at which the checker inspects the health state of a Region |
280+
>>>>>>> 885805fa1a (pd: complement pd section (#21204))
277281
| `schedule.split-merge-interval` | Determines the time interval of performing split and merge operations on the same Region |
278282
| `schedule.max-snapshot-count` | Determines the maximum number of snapshots that a single store can send or receive at the same time |
279283
| `schedule.max-pending-peer-count` | Determines the maximum number of pending peers in a single store |
280284
| `schedule.max-store-down-time` | The downtime after which PD judges that the disconnected store cannot be recovered |
285+
| `schedule.max-store-preparing-time` | Controls the maximum waiting time for the store to go online |
281286
| `schedule.leader-schedule-policy` | Determines the policy of Leader scheduling |
282287
| `schedule.leader-schedule-limit` | The number of Leader scheduling tasks performed at the same time |
283288
| `schedule.region-schedule-limit` | The number of Region scheduling tasks performed at the same time |
@@ -295,16 +300,42 @@ The following PD configuration items can be modified dynamically:
295300
| `schedule.enable-location-replacement` | Determines whether to enable isolation level check |
296301
| `schedule.enable-cross-table-merge` | Determines whether to enable cross-table merge |
297302
| `schedule.enable-one-way-merge` | Enables one-way merge, which only allows merging with the next adjacent Region |
303+
| `schedule.region-score-formula-version` | Controls the version of the Region score formula |
304+
| `schedule.scheduler-max-waiting-operator` | Controls the number of waiting operators in each scheduler |
305+
| `schedule.enable-debug-metrics` | Enables the metrics for debugging |
306+
| `schedule.enable-heartbeat-concurrent-runner` | Enables asynchronous concurrent processing for Region heartbeats |
307+
| `schedule.enable-heartbeat-breakdown-metrics` | Enables breakdown metrics for Region heartbeats to measure the time consumed in each stage of Region heartbeat processing |
308+
| `schedule.enable-joint-consensus` | Controls whether to use Joint Consensus for replica scheduling |
309+
| `schedule.hot-regions-write-interval` | The time interval at which PD stores hot Region information |
310+
| `schedule.hot-regions-reserved-days` | Specifies how many days the hot Region information is retained |
311+
| `schedule.max-movable-hot-peer-size` | Controls the maximum Region size that can be scheduled for hot Region scheduling. |
312+
| `schedule.store-limit-version` | Controls the version of [store limit](/configure-store-limit.md) |
313+
| `schedule.patrol-region-worker-count` | Controls the number of concurrent operators created by the checker when inspecting the health state of a Region |
298314
| `replication.max-replicas` | Sets the maximum number of replicas |
299315
| `replication.location-labels` | The topology information of a TiKV cluster |
300316
| `replication.enable-placement-rules` | Enables Placement Rules |
301317
| `replication.strictly-match-label` | Enables the label check |
318+
| `replication.isolation-level` | The minimum topological isolation level of a TiKV cluster |
302319
| `pd-server.use-region-storage` | Enables independent Region storage |
303320
| `pd-server.max-gap-reset-ts` | Sets the maximum interval of resetting timestamp (BR) |
304321
| `pd-server.key-type` | Sets the cluster key type |
305322
| `pd-server.metric-storage` | Sets the storage address of the cluster metrics |
306323
| `pd-server.dashboard-address` | Sets the dashboard address |
324+
| `pd-server.flow-round-by-digit` | Specifies the number of lowest digits to round for the Region flow information |
325+
| `pd-server.min-resolved-ts-persistence-interval` | Determines the interval at which the minimum resolved timestamp is persistent to the PD |
326+
| `pd-server.server-memory-limit` | The memory limit ratio for a PD instance |
327+
| `pd-server.server-memory-limit-gc-trigger` | The threshold ratio at which PD tries to trigger GC |
328+
| `pd-server.enable-gogc-tuner` | Controls whether to enable the GOGC Tuner |
329+
| `pd-server.gc-tuner-threshold` | The maximum memory threshold ratio for tuning GOGC |
307330
| `replication-mode.replication-mode` | Sets the backup mode |
331+
| `replication-mode.dr-auto-sync.label-key` | Distinguishes different AZs and needs to match Placement Rules |
332+
| `replication-mode.dr-auto-sync.primary` | The primary AZ |
333+
| `replication-mode.dr-auto-sync.dr` | The disaster recovery (DR) AZ |
334+
| `replication-mode.dr-auto-sync.primary-replicas` | The number of Voter replicas in the primary AZ |
335+
| `replication-mode.dr-auto-sync.dr-replicas` | The number of Voter replicas in the disaster recovery (DR) AZ |
336+
| `replication-mode.dr-auto-sync.wait-store-timeout` | The waiting time for switching to asynchronous replication mode when network isolation or failure occurs |
337+
| `replication-mode.dr-auto-sync.wait-recover-timeout` | The waiting time for switching back to the `sync-recover` status after the network recovers |
338+
| `replication-mode.dr-auto-sync.pause-region-split` | Controls whether to pause Region split operations in the `async_wait` and `async` statuses |
308339

309340
For detailed parameter description, refer to [PD Configuration File](/pd-configuration-file.md).
310341

pd-configuration-file.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,12 @@ Configuration items related to scheduling
301301
+ Controls the time interval between the `split` and `merge` operations on the same Region. That means a newly split Region will not be merged for a while.
302302
+ Default value: `1h`
303303
304+
### `max-movable-hot-peer-size` <span class="version-mark">New in v6.1.0</span>
305+
306+
+ Controls the maximum Region size that can be scheduled for hot Region scheduling.
307+
+ Default value: `512`
308+
+ Unit: MiB
309+
304310
### `max-snapshot-count`
305311
306312
+ Controls the maximum number of snapshots that a single store receives or sends at the same time. PD schedulers depend on this configuration to prevent the resources used for normal traffic from being preempted.

0 commit comments

Comments
 (0)