pika
pika copied to clipboard
全量同步过程中,db_repl_state 的状态显示为 WaitDBSync,但是 master_link_status 状态为 down
Is this a regression?
Yes
Description
将全量同步速度控制在每秒 4KB,降低全量同步速度,一段时间后,master_link_status 状态为 down,但是 db_repl_state 的状态显示为 WaitDBSync。
slave 节点
master 节点
Please provide a link to a minimal reproduction of the bug
No response
Screenshots or videos
Please provide the version you discovered this bug in (check about page for version information)
No response
Anything else?
No response
master_link_status 字面的含义是 master 连接的状态。有几种修改方法:(1)如果希望表示从节点已完成全量同步,应该更改 master_link_status 的名字(2)如果仅表示 slave 与 master 连接的状态,master_link_status 值,在全量同步时,也应该是 up
lcy: Redis 也有这个字段,需要根据 Redis 继续推进
Bot detected the issue body's language is not English, translate it automatically.
lcy: Redis also has this field, and it needs to be further developed based on Redis.
https://github.com/OpenAtomFoundation/pika/discussions/2689 已经新增 info 指标 "repl_connect_status" 以解决这个问题。
Bot detected the issue body's language is not English, translate it automatically.
https://github.com/OpenAtomFoundation/pika/discussions/2689 The info indicator "repl_connect_status" has been added to solve this problem.