check if dir exist before deploy/scale-out
Open
Nobody has claimed this yet.
type/bug
- 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?
-
deploy tidb with grafana
-
deploy dm without dm
-
scale-out a grafana to dm cluster with same dir
-
What did you expect to see?
scale-out failed
- What did you see instead?
scale-out succeed
- 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
The report names no files or tests. Reproduce the Grafana and DM deployment, then the Grafana scale-out using the same directory; inspect the deploy and scale-out paths for directory-existence checks. Done means scale-out fails instead of succeeding when the directory already exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100