tiup cluster edit-config should give warning or error when user try to modify PD configurations
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
Since most of the PD configuration can't be changed according to edit-config, which only supports changes by pd-ctl.
So, please return an error and provide a suggestion when the user tries to do that.
-
What did you expect to see?
-
What did you see instead?
-
What version of TiUP are you using (
tiup --version)?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tiup cluster edit-config command and reproduce an attempt to modify a PD configuration, then trace how unsupported fields are handled. The issue does not name files, tests, or specific configurations; done means unsupported PD changes produce an error or warning with guidance to use pd-ctl.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100