You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dynamic-config.md
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -283,11 +283,11 @@ The following PD configuration items can be modified dynamically:
283
283
|`schedule.max-merge-region-size`| Controls the size limit of `Region Merge` (in MiB) |
284
284
|`schedule.max-merge-region-keys`| Specifies the maximum numbers of the `Region Merge` keys |
285
285
|`schedule.patrol-region-interval`| Determines the frequency at which the checker inspects the health state of a Region |
286
-
|`scheduler.patrol-region-worker-count`| Controls the number of concurrent operators created by the checker when inspecting the health state of a Region |
287
286
|`schedule.split-merge-interval`| Determines the time interval of performing split and merge operations on the same Region |
288
287
|`schedule.max-snapshot-count`| Determines the maximum number of snapshots that a single store can send or receive at the same time |
289
288
|`schedule.max-pending-peer-count`| Determines the maximum number of pending peers in a single store |
290
289
|`schedule.max-store-down-time`| The downtime after which PD judges that the disconnected store cannot be recovered |
290
+
|`schedule.max-store-preparing-time`| Controls the maximum waiting time for the store to go online |
291
291
|`schedule.leader-schedule-policy`| Determines the policy of Leader scheduling |
292
292
|`schedule.leader-schedule-limit`| The number of Leader scheduling tasks performed at the same time |
293
293
|`schedule.region-schedule-limit`| The number of Region scheduling tasks performed at the same time |
@@ -305,16 +305,42 @@ The following PD configuration items can be modified dynamically:
305
305
|`schedule.enable-location-replacement`| Determines whether to enable isolation level check |
306
306
|`schedule.enable-cross-table-merge`| Determines whether to enable cross-table merge |
307
307
|`schedule.enable-one-way-merge`| Enables one-way merge, which only allows merging with the next adjacent Region |
308
+
|`schedule.region-score-formula-version`| Controls the version of the Region score formula |
309
+
|`schedule.scheduler-max-waiting-operator`| Controls the number of waiting operators in each scheduler |
310
+
|`schedule.enable-debug-metrics`| Enables the metrics for debugging |
311
+
|`schedule.enable-heartbeat-concurrent-runner`| Enables asynchronous concurrent processing for Region heartbeats |
312
+
|`schedule.enable-heartbeat-breakdown-metrics`| Enables breakdown metrics for Region heartbeats to measure the time consumed in each stage of Region heartbeat processing |
313
+
|`schedule.enable-joint-consensus`| Controls whether to use Joint Consensus for replica scheduling |
314
+
|`schedule.hot-regions-write-interval`| The time interval at which PD stores hot Region information |
315
+
|`schedule.hot-regions-reserved-days`| Specifies how many days the hot Region information is retained |
316
+
|`schedule.max-movable-hot-peer-size`| Controls the maximum Region size that can be scheduled for hot Region scheduling. |
317
+
|`schedule.store-limit-version`| Controls the version of [store limit](/configure-store-limit.md)|
318
+
|`schedule.patrol-region-worker-count`| Controls the number of concurrent operators created by the checker when inspecting the health state of a Region |
308
319
|`replication.max-replicas`| Sets the maximum number of replicas |
309
320
|`replication.location-labels`| The topology information of a TiKV cluster |
|`replication.strictly-match-label`| Enables the label check |
323
+
|`replication.isolation-level`| The minimum topological isolation level of a TiKV cluster |
312
324
|`pd-server.use-region-storage`| Enables independent Region storage |
313
325
|`pd-server.max-gap-reset-ts`| Sets the maximum interval of resetting timestamp (BR) |
314
326
|`pd-server.key-type`| Sets the cluster key type |
315
327
|`pd-server.metric-storage`| Sets the storage address of the cluster metrics |
316
328
|`pd-server.dashboard-address`| Sets the dashboard address |
329
+
|`pd-server.flow-round-by-digit`| Specifies the number of lowest digits to round for the Region flow information |
330
+
|`pd-server.min-resolved-ts-persistence-interval`| Determines the interval at which the minimum resolved timestamp is persistent to the PD |
331
+
|`pd-server.server-memory-limit`| The memory limit ratio for a PD instance |
332
+
|`pd-server.server-memory-limit-gc-trigger`| The threshold ratio at which PD tries to trigger GC |
333
+
|`pd-server.enable-gogc-tuner`| Controls whether to enable the GOGC Tuner |
334
+
|`pd-server.gc-tuner-threshold`| The maximum memory threshold ratio for tuning GOGC |
317
335
|`replication-mode.replication-mode`| Sets the backup mode |
336
+
|`replication-mode.dr-auto-sync.label-key`| Distinguishes different AZs and needs to match Placement Rules |
337
+
|`replication-mode.dr-auto-sync.primary`| The primary AZ |
338
+
|`replication-mode.dr-auto-sync.dr`| The disaster recovery (DR) AZ |
339
+
|`replication-mode.dr-auto-sync.primary-replicas`| The number of Voter replicas in the primary AZ |
340
+
|`replication-mode.dr-auto-sync.dr-replicas`| The number of Voter replicas in the disaster recovery (DR) AZ |
341
+
|`replication-mode.dr-auto-sync.wait-store-timeout`| The waiting time for switching to asynchronous replication mode when network isolation or failure occurs |
342
+
|`replication-mode.dr-auto-sync.wait-recover-timeout`| The waiting time for switching back to the `sync-recover` status after the network recovers |
343
+
|`replication-mode.dr-auto-sync.pause-region-split`| Controls whether to pause Region split operations in the `async_wait` and `async` statuses |
318
344
319
345
For detailed parameter description, refer to [PD Configuration File](/pd-configuration-file.md).
Copy file name to clipboardExpand all lines: pd-configuration-file.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -312,6 +312,12 @@ Configuration items related to scheduling
312
312
+ 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.
313
313
+ Default value: `1h`
314
314
315
+
### `max-movable-hot-peer-size` <span class="version-mark">New in v6.1.0</span>
316
+
317
+
+ Controls the maximum Region size that can be scheduled for hot Region scheduling.
318
+
+ Default value: `512`
319
+
+ Unit: MiB
320
+
315
321
### `max-snapshot-count`
316
322
317
323
+ 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