cockroachdb / docs

CockroachDB user documentation
https://cockroachlabs.com/docs
Creative Commons Attribution 4.0 International
189 stars 459 forks source link

guidance for shutting down a whole cluster #7002

Closed mattcrdb closed 3 months ago

mattcrdb commented 4 years ago

Matthew Vardi (mattcrdb) commented:

the motivation for this is that resources are expensive, some users of cockroach would like to shut down the whole cluster and restart it the following day.

In 3 node cluster given 3x replication there shouldn't be any upreplication and the shutdown will invalidate the leases anyway.

our docs only discuss shutting down one node for planned maintinence.

i encourage a discussion with another kv engineer to see what the process would be for a cluster with > 3 nodes.

IMO the section would expand on this section https://www.cockroachlabs.com/docs/stable/operational-faqs.html#how-do-i-prepare-for-planned-node-maintenance

Jira Issue: DOC-472

mattcrdb commented 4 years ago

xref: https://cockroachlabs.slack.com/archives/C0KB9Q03D/p1585231354008300

related to https://github.com/cockroachdb/docs/issues/6951

jseldess commented 3 years ago

cc @johnrk, @taroface