Open jseldess opened 5 years ago
From https://github.com/cockroachdb/docs/issues/4447:
Currently today the only example of an array I could find on the page is the following:
constraints = '[+ssd, -region=west]'
I think it would be great to perhaps show something like:
constraints = '[+region=west, +region=central]'
to make it clear how this could be used. Showing this in an alter statement down the page would also be great.
From my understanding, constraints = '[+region=west, +region=central]'
doesn't work as it will look for a node with both region set to "west" and also set to "central". Most likely no nodes will fit this constraint. You could have constraints like constraints = '[+cloud=aws, +region=central]'
Jesse Seldess commented:
https://www.cockroachlabs.com/docs/stable/configure-replication-zones.html#types-of-constraints
Question from @robert-s-lee:
Jira Issue: DOC-250