Skip to content

Commit 3caa90a

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 743fc24 commit 3caa90a

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
@@ -266,11 +266,16 @@ The following PD configuration items can be modified dynamically:
266266
| `cluster-version` | The cluster version |
267267
| `schedule.max-merge-region-size` | Controls the size limit of `Region Merge` (in MiB) |
268268
| `schedule.max-merge-region-keys` | Specifies the maximum numbers of the `Region Merge` keys |
269+
<<<<<<< HEAD
269270
| `schedule.patrol-region-interval` | Determines the frequency at which `replicaChecker` checks the health state of a Region |
271+
=======
272+
| `schedule.patrol-region-interval` | Determines the frequency at which the checker inspects the health state of a Region |
273+
>>>>>>> 885805fa1a (pd: complement pd section (#21204))
270274
| `schedule.split-merge-interval` | Determines the time interval of performing split and merge operations on the same Region |
271275
| `schedule.max-snapshot-count` | Determines the maximum number of snapshots that a single store can send or receive at the same time |
272276
| `schedule.max-pending-peer-count` | Determines the maximum number of pending peers in a single store |
273277
| `schedule.max-store-down-time` | The downtime after which PD judges that the disconnected store cannot be recovered |
278+
| `schedule.max-store-preparing-time` | Controls the maximum waiting time for the store to go online |
274279
| `schedule.leader-schedule-policy` | Determines the policy of Leader scheduling |
275280
| `schedule.leader-schedule-limit` | The number of Leader scheduling tasks performed at the same time |
276281
| `schedule.region-schedule-limit` | The number of Region scheduling tasks performed at the same time |
@@ -288,16 +293,42 @@ The following PD configuration items can be modified dynamically:
288293
| `schedule.enable-location-replacement` | Determines whether to enable isolation level check |
289294
| `schedule.enable-cross-table-merge` | Determines whether to enable cross-table merge |
290295
| `schedule.enable-one-way-merge` | Enables one-way merge, which only allows merging with the next adjacent Region |
296+
| `schedule.region-score-formula-version` | Controls the version of the Region score formula |
297+
| `schedule.scheduler-max-waiting-operator` | Controls the number of waiting operators in each scheduler |
298+
| `schedule.enable-debug-metrics` | Enables the metrics for debugging |
299+
| `schedule.enable-heartbeat-concurrent-runner` | Enables asynchronous concurrent processing for Region heartbeats |
300+
| `schedule.enable-heartbeat-breakdown-metrics` | Enables breakdown metrics for Region heartbeats to measure the time consumed in each stage of Region heartbeat processing |
301+
| `schedule.enable-joint-consensus` | Controls whether to use Joint Consensus for replica scheduling |
302+
| `schedule.hot-regions-write-interval` | The time interval at which PD stores hot Region information |
303+
| `schedule.hot-regions-reserved-days` | Specifies how many days the hot Region information is retained |
304+
| `schedule.max-movable-hot-peer-size` | Controls the maximum Region size that can be scheduled for hot Region scheduling. |
305+
| `schedule.store-limit-version` | Controls the version of [store limit](/configure-store-limit.md) |
306+
| `schedule.patrol-region-worker-count` | Controls the number of concurrent operators created by the checker when inspecting the health state of a Region |
291307
| `replication.max-replicas` | Sets the maximum number of replicas |
292308
| `replication.location-labels` | The topology information of a TiKV cluster |
293309
| `replication.enable-placement-rules` | Enables Placement Rules |
294310
| `replication.strictly-match-label` | Enables the label check |
311+
| `replication.isolation-level` | The minimum topological isolation level of a TiKV cluster |
295312
| `pd-server.use-region-storage` | Enables independent Region storage |
296313
| `pd-server.max-gap-reset-ts` | Sets the maximum interval of resetting timestamp (BR) |
297314
| `pd-server.key-type` | Sets the cluster key type |
298315
| `pd-server.metric-storage` | Sets the storage address of the cluster metrics |
299316
| `pd-server.dashboard-address` | Sets the dashboard address |
317+
| `pd-server.flow-round-by-digit` | Specifies the number of lowest digits to round for the Region flow information |
318+
| `pd-server.min-resolved-ts-persistence-interval` | Determines the interval at which the minimum resolved timestamp is persistent to the PD |
319+
| `pd-server.server-memory-limit` | The memory limit ratio for a PD instance |
320+
| `pd-server.server-memory-limit-gc-trigger` | The threshold ratio at which PD tries to trigger GC |
321+
| `pd-server.enable-gogc-tuner` | Controls whether to enable the GOGC Tuner |
322+
| `pd-server.gc-tuner-threshold` | The maximum memory threshold ratio for tuning GOGC |
300323
| `replication-mode.replication-mode` | Sets the backup mode |
324+
| `replication-mode.dr-auto-sync.label-key` | Distinguishes different AZs and needs to match Placement Rules |
325+
| `replication-mode.dr-auto-sync.primary` | The primary AZ |
326+
| `replication-mode.dr-auto-sync.dr` | The disaster recovery (DR) AZ |
327+
| `replication-mode.dr-auto-sync.primary-replicas` | The number of Voter replicas in the primary AZ |
328+
| `replication-mode.dr-auto-sync.dr-replicas` | The number of Voter replicas in the disaster recovery (DR) AZ |
329+
| `replication-mode.dr-auto-sync.wait-store-timeout` | The waiting time for switching to asynchronous replication mode when network isolation or failure occurs |
330+
| `replication-mode.dr-auto-sync.wait-recover-timeout` | The waiting time for switching back to the `sync-recover` status after the network recovers |
331+
| `replication-mode.dr-auto-sync.pause-region-split` | Controls whether to pause Region split operations in the `async_wait` and `async` statuses |
301332

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

pd-configuration-file.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,12 @@ Configuration items related to scheduling
285285
+ 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.
286286
+ Default value: `1h`
287287
288+
### `max-movable-hot-peer-size` <span class="version-mark">New in v6.1.0</span>
289+
290+
+ Controls the maximum Region size that can be scheduled for hot Region scheduling.
291+
+ Default value: `512`
292+
+ Unit: MiB
293+
288294
### `max-snapshot-count`
289295
290296
+ 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)