Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli,storage: add emergency ballast #11479

Closed
jseldess opened this issue Sep 8, 2021 · 2 comments
Closed

cli,storage: add emergency ballast #11479

jseldess opened this issue Sep 8, 2021 · 2 comments

Comments

@jseldess
Copy link
Contributor

jseldess commented Sep 8, 2021

PR: cockroachdb/cockroach#66893

From release notes:

Added an automatically created, on by default, emergency ballast file. This new ballast defaults to the minimum of 1% total disk capacity or 1GiB. The size of the ballast may be configured via the --store flag with a ballast-size field, accepting the same value formats as the size field. Also, added a new Disk Full (10) exit code that indicates that the node exited because disk space on at least one store is exhausted. On node start, if any store has less than half the ballast's size bytes available, the node immediately exits with the Disk Full (10) exit code. The operator may manually remove the configured ballast (assuming they haven't already) to allow the node to start, and they can take action to remedy the disk space exhaustion. The ballast will automatically be recreated when available disk space is 4x the ballast size, or at least 10 GiB is available after the ballast is created. [#66893][#66893]

@taroface
Copy link
Contributor

@rmloveland This was covered by your PR that I reviewed, right?

@rmloveland
Copy link
Contributor

Yes, closed by #11932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants