Skip to content

cli: start-sql should default store to cockroach-data-<tenant> #71603

@tbg

Description

@tbg

Is your feature request related to a problem? Please describe.

Tenants use the cockroach-data directory for disk spilling. But this is also the default for the server, so if you try out tenants locally, the tenant will try to clean up the temp dirs of the running server, which fails and exits the tenant process.

Describe the solution you'd like
Tenants should default to cockroach-data-.

Describe alternatives you've considered
Do nothing? Maybe this is working as intended but I had to burn a few hours on this over in #71269.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-server-and-securityDB Server & Security

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions