Skip to content

tt start -i leads to the impossibility of the tt clean #1212

@askalt

Description

@askalt
  1. Start an instance using tt start -i. Logs directory is not created. As I see, it is done intentionally here:
    for _, dataDir := range [...]string{inst.WalDir, inst.VinylDir, inst.MemtxDir, inst.RunDir} {
  2. Stop the instance.
  3. Try to clean files with tt clean -f and got error: ... var/log/instance1: no such file or directory, as clean assumes that all directories exist when collects files to clean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions