3副本指的是PEER_ID为2742037,2742038,2742039 三个?
REGION_ID 是IS_LEADER=1的leader角色peer 的一个副本指针?
可以这么理解吗
show config where name like ‘%replication.max-replicas%’;
±-----±---------------±-------------------------±------+
| Type | Instance | Name | Value |
±-----±---------------±-------------------------±------+
| pd | 127.0.0.1:2379 | replication.max-replicas | 3 |
| pd | 127.0.0.1:2381 | replication.max-replicas | 3 |
±-----±---------------±-------------------------±------+
select * from information_schema.tikv_region_peers where REGION_ID=2742036 \G
*************************** 1. row ***************************
REGION_ID: 2742036
PEER_ID: 2742037
STORE_ID: 1
IS_LEARNER: 0
IS_LEADER: 0
STATUS: NORMAL
DOWN_SECONDS: NULL
*************************** 2. row ***************************
REGION_ID: 2742036
PEER_ID: 2742038
STORE_ID: 2741019
IS_LEARNER: 0
IS_LEADER: 1
STATUS: NORMAL
DOWN_SECONDS: NULL
*************************** 3. row ***************************
REGION_ID: 2742036
PEER_ID: 2742039
STORE_ID: 2741022
IS_LEARNER: 0
IS_LEADER: 0
STATUS: NORMAL
DOWN_SECONDS: NULL
3 rows in set (0.00 sec)