Open rolfen opened 10 months ago
Hello, I am Blathers. I am here to help you get the issue triaged.
Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here.
I was unable to automatically find someone to ping.
If we have not gotten back to your issue within a few business days, you can try the following:
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
Thanks for filing the report.
It appears that the output directory for the various runtime dumps end up in the current working directory if there is no store or log directory configured:
As for the most sensible default behaviour when the user has taken such clear attempts to have an in-memory database, I think possible options include disabling these dumps completely, using a temporary directory as the fallback default, or providing some user-control over the creation and placement of these files. I'm not sure we want to clean these up on exit since the whole point of these is often to do post-mortem analysis of a problem that might have resulted in a server exit.
Describe the problem
ran
cockroach start-single-node
and then hit Ctrl-CEverytime it runs it leaves behind the following in the running directory:
And prints an error on stderr:
To Reproduce
Expected behavior
Shutdown gracefully and keep the working dir clean.
Additional context
MacOs 12.7.2 cockroach version details: Build Tag: v23.1.13 Build Time: 2023/12/01 21:57:15 Distribution: CCL Platform: darwin amd64 (x86_64-apple-darwin19) Go Version: go1.19.13 C Compiler: Clang 10.0.0 Build Commit ID: 8d065df26e25a762a1abbbf2b1e475456b341a00 Build Type: release Enabled Assertions: false
Jira issue: CRDB-35568