pingcap / pingcap/tiup

tiup cluster edit-config 增加 server_configs 模板

Open
#391 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status/TODO type/enhancement
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

现在当没有自定以 server_configs 的时候,tiup cluster edit-config 不会显示 server_configs 以及里面的内容:

希望在没有配置 server_configs 的时候,有类似效果,预留栏位:
monitored:
...
server_configs:
tidb: {}
tikv: {}
pd: {}
tiflash: {}
tiflash-learner: {}
pump: {}
drainer: {}
cdc: {}
tidb_servers:
...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tiup cluster edit-config entry point and trace how the configuration template is generated when server_configs is absent. Done means the generated template reserves server_configs entries for tidb, tikv, pd, tiflash, tiflash-learner, pump, drainer, and cdc as shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.