请问每次同步遇到报错的都是 region 5209737 吗?
这个我需要重跑过一次才知道,如果没有其他线索,可以重跑一次观察。
该 region 对应的表是有同步至 tiflash 吗?
否,环境中没有 TiFlash。
可以通过 pd-ctl 先看下 region 5209737 的状态
内容如下
{
"id": 5209737,
"start_key": "",
"end_key": "7480000000000000FF175F728000000000FF04A4100000000000FA",
"epoch": {
"conf_ver": 259100,
"version": 241
},
"peers": [
{
"id": 5927699,
"store_id": 1012
},
{
"id": 5927846,
"store_id": 1006
},
{
"id": 5927973,
"store_id": 1002
}
],
"leader": {
"id": 5927846,
"store_id": 1006
},
"written_bytes": 150593,
"read_bytes": 3470050,
"written_keys": 871,
"read_keys": 52948,
"approximate_size": 237,
"approximate_keys": 987286
}
过 40 分钟以后再跑一次
{
"id": 5209737,
"start_key": "",
"end_key": "7480000000000000FF175F728000000000FF04A4100000000000FA",
"epoch": {
"conf_ver": 259106,
"version": 241
},
"peers": [
{
"id": 5927846,
"store_id": 1006
},
{
"id": 5928022,
"store_id": 1005
},
{
"id": 5928049,
"store_id": 5639227
}
],
"leader": {
"id": 5927846,
"store_id": 1006
},
"written_bytes": 283603,
"read_bytes": 6043618,
"written_keys": 1310,
"read_keys": 93754,
"approximate_size": 237,
"approximate_keys": 987286
}
看到 peers 有变化,此外多次跑的过程中,也曾有发现 leader 变化。
谢谢老师