pika icon indicating copy to clipboard operation
pika copied to clipboard

全量同步过程中,db_repl_state 的状态显示为 WaitDBSync,但是 master_link_status 状态为 down

Open chengyu-l opened this issue 1 year ago • 3 comments

Is this a regression?

Yes

Description

将全量同步速度控制在每秒 4KB,降低全量同步速度,一段时间后,master_link_status 状态为 down,但是 db_repl_state 的状态显示为 WaitDBSync。

slave 节点 image

master 节点 image

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

images

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response

chengyu-l avatar Feb 28 '24 09:02 chengyu-l

master_link_status 字面的含义是 master 连接的状态。有几种修改方法:(1)如果希望表示从节点已完成全量同步,应该更改 master_link_status 的名字(2)如果仅表示 slave 与 master 连接的状态,master_link_status 值,在全量同步时,也应该是 up

chengyu-l avatar Feb 28 '24 10:02 chengyu-l

lcy: Redis 也有这个字段,需要根据 Redis 继续推进

AlexStocks avatar Mar 15 '24 12:03 AlexStocks

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.

Issues-translate-bot avatar Mar 15 '24 12:03 Issues-translate-bot

https://github.com/OpenAtomFoundation/pika/discussions/2689 已经新增 info 指标 "repl_connect_status" 以解决这个问题。

AlexStocks avatar May 31 '24 12:05 AlexStocks

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.

Issues-translate-bot avatar May 31 '24 12:05 Issues-translate-bot