Description
David Lukens (lukens4242) commented:
Over on https://www.cockroachlabs.com/docs/v20.1/cost-based-optimizer, about 80% of the way down the page there is an example for a token table. As part of the example 3 nodes are started, one each for 3 different regions. Then a table and three indexes, one for each region, are setup. That all makes sense. Assigning those indexes to be local to each region also makes sense. The part that doesn't seem to fit is that the number of replicas is 5, which is more than the number of nodes in the example.
It would make more sense if there was some language added specifying that there are multiple nodes for each region. The way it is written now implies that you can have more replicas than total nodes in the cluster.
Jira Issue: DOC-822