Skip to content

[docs] Add CRDB survivability configuration - #1613

Open
mickmis wants to merge 2 commits into
interuss:masterfrom
Orbitalize:survivability-doc
Open

[docs] Add CRDB survivability configuration#1613
mickmis wants to merge 2 commits into
interuss:masterfrom
Orbitalize:survivability-doc

Conversation

@mickmis

@mickmis mickmis commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This relates to interuss/monitoring#1551 and might be enough to address #482 if we decide pursuing automatic configuration is not relevant anymore given the current CRDB situation.

Comment thread docs/operations/pooling-crdb.md
@mickmis
mickmis force-pushed the survivability-doc branch from 5fee90f to 1433b79 Compare August 6, 2026 07:27
Comment thread docs/operations/survivability-crdb.md Outdated

## 1. Setting Node Locality

When starting each CockroachDB node, you must configure its `--locality` flag to specify which USS and node it represents. The locality must use first at least the `uss` key, and optionally second the `node` key.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InterUSS recommends those keys, however, users may already be using other keys (ie region, zone).
Can you please add a note on what they should do if it was the case ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clarified the scope of the doc so that:

  • it covers only the default case
  • and what is important if they are outside the default case, however they are on their own in that case

Comment thread docs/operations/survivability-crdb.md Outdated

### Explanation of the Parameters:
* `num_replicas = 3`: Tells CockroachDB to keep 3 copies of each range.
* `constraints`: A JSON object specifying per-replica constraints. Do note that specifying this might not always be necessary depending on your deployment.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, be more precise on the case when it would not be necessary.

Comment thread docs/operations/survivability-crdb.md Outdated
Comment thread docs/operations/survivability-crdb.md Outdated
Comment thread docs/operations/survivability-crdb.md Outdated
Comment thread docs/operations/survivability-crdb.md Outdated
Co-authored-by: Mickaël Misbach <mickael@misba.ch>
@mickmis
mickmis requested a review from barroco August 26, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants