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

Consider remaining disk space when decommissioning a node #71757

Open
data-matt opened this issue Oct 20, 2021 · 0 comments
Open

Consider remaining disk space when decommissioning a node #71757

data-matt opened this issue Oct 20, 2021 · 0 comments
Labels
A-cli-admin CLI commands that pertain to controlling and configuring nodes A-kv-decom-rolling-restart Decommission and Rolling Restarts C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team
Projects

Comments

@data-matt
Copy link

data-matt commented Oct 20, 2021

Is your feature request related to a problem? Please describe.
Our operators have automated the provisioning of cockroachdb clusters on-premise. We would like to be able ask cockroachdb if there will be enough disk space left when we downscale a cluster from X to Y nodes.

For example, will we have enough space after reducing the cluster size from 20 to 5 nodes?

Describe the solution you'd like
A solution to ask this question from SQL layer would be easy for operators to use.

Alternatively:
cockroach node decommission --dry_run --consider-disk-space

Describe alternatives you've considered
Manually retrieving disk usage and comparing with disk sizes.

Additional context
This could be part of an epic and linked to #70486

gz#10216

Jira issue: CRDB-10757

@data-matt data-matt added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-cli-admin CLI commands that pertain to controlling and configuring nodes T-kv KV Team labels Oct 20, 2021
@blathers-crl blathers-crl bot added this to Incoming in KV Oct 20, 2021
@data-matt data-matt added the T-server-and-security DB Server & Security label Oct 20, 2021
@blathers-crl blathers-crl bot added this to To do in DB Server & Security Oct 20, 2021
@lunevalex lunevalex removed this from Incoming in KV Oct 20, 2021
@exalate-issue-sync exalate-issue-sync bot removed the T-kv KV Team label Nov 18, 2021
@knz knz removed this from To do in DB Server & Security Jun 16, 2022
@knz knz added this to Incoming in KV via automation Jun 16, 2022
@blathers-crl blathers-crl bot added the T-kv KV Team label Jun 16, 2022
@knz knz added A-kv-decom-rolling-restart Decommission and Rolling Restarts and removed T-server-and-security DB Server & Security labels Jun 16, 2022
@nvanbenschoten nvanbenschoten moved this from Incoming to On Hold in KV Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli-admin CLI commands that pertain to controlling and configuring nodes A-kv-decom-rolling-restart Decommission and Rolling Restarts C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team
Projects
KV
On Hold
Development

No branches or pull requests

2 participants