-
Notifications
You must be signed in to change notification settings - Fork 701
pd: complement pd section (#21204) #21211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-7.5
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -266,11 +266,16 @@ The following PD configuration items can be modified dynamically: | |||||
| `cluster-version` | The cluster version | | ||||||
| `schedule.max-merge-region-size` | Controls the size limit of `Region Merge` (in MiB) | | ||||||
| `schedule.max-merge-region-keys` | Specifies the maximum numbers of the `Region Merge` keys | | ||||||
<<<<<<< HEAD | ||||||
| `schedule.patrol-region-interval` | Determines the frequency at which `replicaChecker` checks the health state of a Region | | ||||||
======= | ||||||
| `schedule.patrol-region-interval` | Determines the frequency at which the checker inspects the health state of a Region | | ||||||
>>>>>>> 885805fa1a (pd: complement pd section (#21204)) | ||||||
| `schedule.split-merge-interval` | Determines the time interval of performing split and merge operations on the same Region | | ||||||
| `schedule.max-snapshot-count` | Determines the maximum number of snapshots that a single store can send or receive at the same time | | ||||||
| `schedule.max-pending-peer-count` | Determines the maximum number of pending peers in a single store | | ||||||
| `schedule.max-store-down-time` | The downtime after which PD judges that the disconnected store cannot be recovered | | ||||||
| `schedule.max-store-preparing-time` | Controls the maximum waiting time for the store to go online | | ||||||
| `schedule.leader-schedule-policy` | Determines the policy of Leader scheduling | | ||||||
| `schedule.leader-schedule-limit` | The number of Leader scheduling tasks performed at the same time | | ||||||
| `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: | |||||
| `schedule.enable-location-replacement` | Determines whether to enable isolation level check | | ||||||
| `schedule.enable-cross-table-merge` | Determines whether to enable cross-table merge | | ||||||
| `schedule.enable-one-way-merge` | Enables one-way merge, which only allows merging with the next adjacent Region | | ||||||
| `schedule.region-score-formula-version` | Controls the version of the Region score formula | | ||||||
| `schedule.scheduler-max-waiting-operator` | Controls the number of waiting operators in each scheduler | | ||||||
| `schedule.enable-debug-metrics` | Enables the metrics for debugging | | ||||||
| `schedule.enable-heartbeat-concurrent-runner` | Enables asynchronous concurrent processing for Region heartbeats | | ||||||
| `schedule.enable-heartbeat-breakdown-metrics` | Enables breakdown metrics for Region heartbeats to measure the time consumed in each stage of Region heartbeat processing | | ||||||
| `schedule.enable-joint-consensus` | Controls whether to use Joint Consensus for replica scheduling | | ||||||
| `schedule.hot-regions-write-interval` | The time interval at which PD stores hot Region information | | ||||||
| `schedule.hot-regions-reserved-days` | Specifies how many days the hot Region information is retained | | ||||||
| `schedule.max-movable-hot-peer-size` | Controls the maximum Region size that can be scheduled for hot Region scheduling. | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description for Style Guide References
Suggested change
Footnotes |
||||||
| `schedule.store-limit-version` | Controls the version of [store limit](/configure-store-limit.md) | | ||||||
| `schedule.patrol-region-worker-count` | Controls the number of concurrent operators created by the checker when inspecting the health state of a Region | | ||||||
| `replication.max-replicas` | Sets the maximum number of replicas | | ||||||
| `replication.location-labels` | The topology information of a TiKV cluster | | ||||||
| `replication.enable-placement-rules` | Enables Placement Rules | | ||||||
| `replication.strictly-match-label` | Enables the label check | | ||||||
| `replication.isolation-level` | The minimum topological isolation level of a TiKV cluster | | ||||||
| `pd-server.use-region-storage` | Enables independent Region storage | | ||||||
| `pd-server.max-gap-reset-ts` | Sets the maximum interval of resetting timestamp (BR) | | ||||||
| `pd-server.key-type` | Sets the cluster key type | | ||||||
| `pd-server.metric-storage` | Sets the storage address of the cluster metrics | | ||||||
| `pd-server.dashboard-address` | Sets the dashboard address | | ||||||
| `pd-server.flow-round-by-digit` | Specifies the number of lowest digits to round for the Region flow information | | ||||||
| `pd-server.min-resolved-ts-persistence-interval` | Determines the interval at which the minimum resolved timestamp is persistent to the PD | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The phrase "is persistent to the PD" could be slightly rephrased for better clarity.1 Consider "is persisted in PD" or "is persisted to PD". Style Guide References
Suggested change
Footnotes |
||||||
| `pd-server.server-memory-limit` | The memory limit ratio for a PD instance | | ||||||
| `pd-server.server-memory-limit-gc-trigger` | The threshold ratio at which PD tries to trigger GC | | ||||||
| `pd-server.enable-gogc-tuner` | Controls whether to enable the GOGC Tuner | | ||||||
| `pd-server.gc-tuner-threshold` | The maximum memory threshold ratio for tuning GOGC | | ||||||
| `replication-mode.replication-mode` | Sets the backup mode | | ||||||
| `replication-mode.dr-auto-sync.label-key` | Distinguishes different AZs and needs to match Placement Rules | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The phrase "and needs to match Placement Rules" could be made more direct for clarity.1 Suggestion: "and must match Placement Rules". Style Guide References
Suggested change
Footnotes |
||||||
| `replication-mode.dr-auto-sync.primary` | The primary AZ | | ||||||
| `replication-mode.dr-auto-sync.dr` | The disaster recovery (DR) AZ | | ||||||
| `replication-mode.dr-auto-sync.primary-replicas` | The number of Voter replicas in the primary AZ | | ||||||
| `replication-mode.dr-auto-sync.dr-replicas` | The number of Voter replicas in the disaster recovery (DR) AZ | | ||||||
| `replication-mode.dr-auto-sync.wait-store-timeout` | The waiting time for switching to asynchronous replication mode when network isolation or failure occurs | | ||||||
| `replication-mode.dr-auto-sync.wait-recover-timeout` | The waiting time for switching back to the `sync-recover` status after the network recovers | | ||||||
| `replication-mode.dr-auto-sync.pause-region-split` | Controls whether to pause Region split operations in the `async_wait` and `async` statuses | | ||||||
|
||||||
For detailed parameter description, refer to [PD Configuration File](/pd-configuration-file.md). | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section contains merge conflict markers (
<<<<<<< HEAD
,=======
,>>>>>>>
) that need to be resolved. Please remove these markers and ensure the correct version of the content forschedule.patrol-region-interval
is present.