tt clean should remove empty config dirs left after vshard bootstrap
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 113
- Forks
- 18
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 23
Description
If there are empty directories left after tt clean (create by vshard bootstraping):
├── var
│ ├── lib
│ │ └── tarantool_column_store
│ │ ├── r-1
│ │ │ ├── config
│ │ │ └── config.backup
│ │ └── s1-1
│ │ ├── config
│ │ └── config.backup
Subsequent start and --bootstrap-vshard fails with the following error:
Failed to get current topology replicasets: Failed to get current topology: [string "local function func(...) local cartridge = re..."]:1: section vshard must be a table
Removing empty 'config' directories fixes this issue.
Contributor guide
No contributing guide indexed for this repository
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 implementation of tt clean and reproduce the issue using a Tarantool application bootstrapped with vshard. Inspect how empty config and config.backup directories are handled; done means tt clean removes the empty directories and a subsequent start --bootstrap-vshard succeeds.
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
- 52/100