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

storage: automatic ballast files #11156

Closed
mwang1026 opened this issue Aug 27, 2021 · 2 comments · Fixed by #11932
Closed

storage: automatic ballast files #11156

mwang1026 opened this issue Aug 27, 2021 · 2 comments · Fixed by #11932
Assignees
Milestone

Comments

@mwang1026
Copy link
Contributor

mwang1026 commented Aug 27, 2021

With a change jackson pushed, we now have automatic ballast files without having to use the CLI flag. PR: cockroachdb/cockroach#66893

We should change our recommendation about how / when / whether to use a ballast file. e.g. in these docs https://www.cockroachlabs.com/docs/v21.1/recommended-production-settings.html#storage

We should also mark the old way of doing ballast files as deprecated (let's talk a bit more about that though) and guide users to use the new way of creating ballast files.


Update: below moved to separate issue #11917

Separately, we don't talk a lot about the OOD scenario -- why it's so nefarious (you need to write data to delete data, e.g.) and how to avoid it (read: alert alert alert, vertically scale if you have persistent disk like EBS, otherwise you have to horizontally scale before you run out of space / make space by removing ballast and log files but at that point you might not have enough space)

We have this doc, but we don't talk about the alerting you should set up about disk outage -- how a ballast might not be enough if you want to horizontally scale -- and generally best practices to avoid OOD situations. We could separate this into a separate issue.

https://www.cockroachlabs.com/docs/v21.1/operational-faqs.html#what-happens-when-a-node-runs-out-of-disk-space

@rmloveland
Copy link
Contributor

Hey @mwang1026 it looks to me like this docs work is to cover the Jira epic CRDB-1452 - Is that correct?

@mwang1026
Copy link
Contributor Author

that's right

@rmloveland rmloveland changed the title storage: automatic ballast files, ballast file best practices, handling OOD scenarios storage: automatic ballast files Oct 7, 2021
rmloveland added a commit that referenced this issue Oct 8, 2021
rmloveland added a commit that referenced this issue Oct 11, 2021
rmloveland added a commit that referenced this issue Oct 11, 2021
Fixes #11156

Addresses a little bit of #11917
rmloveland added a commit that referenced this issue Oct 11, 2021
Fixes #11156

Addresses a little bit of #11917
rmloveland added a commit that referenced this issue Oct 13, 2021
Fixes #11156

Addresses a little bit of #11917
rmloveland added a commit that referenced this issue Oct 19, 2021
Fixes #11156

Addresses a little bit of #11917
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants