We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
Change few configs then start a new PD cluster. But some config are not taking effect.
Config file:
# PD Configuration initial-cluster-state = "new" enable-prevote = true lease = 3 namespace-classifier = "table" tso-save-interval = "3s" [security] cacert-path = "" cert-path = "" key-path = "" [log] level = "info" [log.file] [metric] [schedule] leader-schedule-limit = 4 max-merge-region-keys = 0 max-merge-region-size = 0 max-pending-peer-count = 16 max-snapshot-count = 3 max-store-down-time = "3000h" merge-schedule-limit = 0 region-schedule-limit = 0 replica-schedule-limit = 0 split-merge-interval = "1h" tolerant-size-ratio = 5.0 [replication] location-labels = [] max-replicas = 1
Config from log
2018/11/13 12:56:00.147 server.go:106: [info] PD config - { "client-urls": "http://172.16.30.31:13579", "peer-urls": "http://172.16.30.31:13580", "advertise-client-urls": "http://172.16.30.31:13579", "advertise-peer-urls": "http://172.16.30.31:13580", "name": "pd1", "data-dir": "./data.pd", "initial-cluster": "pd1=http://172.16.30.31:13580", "initial-cluster-state": "new", "join": "", "lease": 3, "log": { "level": "info", "format": "text", "disable-timestamp": false, "file": { "filename": "log/pd.log", "log-rotate": true, "max-size": 300, "max-days": 0, "max-backups": 0 } }, "log-file": "", "log-level": "", "tso-save-interval": "3s", "metric": { "job": "pd1", "address": "", "interval": "0s" }, "schedule": { "max-snapshot-count": 3, "max-pending-peer-count": 16, "max-merge-region-size": 20, "max-merge-region-keys": 200000, "split-merge-interval": "1h0m0s", "patrol-region-interval": "100ms", "max-store-down-time": "3000h0m0s", "leader-schedule-limit": 4, "region-schedule-limit": 4, "replica-schedule-limit": 8, "merge-schedule-limit": 8, "tolerant-size-ratio": 5, "low-space-ratio": 0.8, "high-space-ratio": 0.6, "disable-raft-learner": "false", "disable-remove-down-replica": "false", "disable-replace-offline-replica": "false", "disable-make-up-replica": "false", "disable-remove-extra-replica": "false", "disable-location-replacement": "false", "disable-namespace-relocation": "false", "schedulers-v2": [ { "type": "balance-region", "args": null, "disable": false }, { "type": "balance-leader", "args": null, "disable": false }, { "type": "hot-region", "args": null, "disable": false }, { "type": "label", "args": null, "disable": false } ] }, "replication": { "max-replicas": 1, "location-labels": "" }, "namespace": {}, "pd-server": { "enable-region-storage": false }, "cluster-version": "0.0.0", "quota-backend-bytes": "0 B", "auto-compaction-mode": "periodic", "auto-compaction-retention-v2": "1h", "TickInterval": "500ms", "ElectionInterval": "3s", "PreVote": true, "security": { "cacert-path": "", "cert-path": "", "key-path": "" }, "label-property": null, "WarningMsgs": null, "namespace-classifier": "table", "LeaderPriorityCheckInterval": "1m0s" }
Take effect or print some warnings.
Default configs.
pd-server -V
2018/11/13 12:56:00.146 util.go:56: [info] Welcome to Placement Driver (PD). 2018/11/13 12:56:00.146 util.go:57: [info] Release Version: v2.1.0-rc.2-36-g1883ee2
The text was updated successfully, but these errors were encountered:
disksing
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
Change few configs then start a new PD cluster. But some config are not taking effect.
Config file:
Config from log
Take effect or print some warnings.
Default configs.
pd-server -V
)?The text was updated successfully, but these errors were encountered: