Tikv create first_region

How to determine which peers are in the first region during tikv initialization?

For example, if there are five Tikv nodes and the three backup strategy is adopted, how can the first region (or other regions) be determined on those nodes?

When boot_strap () is called to create a first_region, it seems that there is only one local peer.How does the firstregion add other peers?

1 Like