pika icon indicating copy to clipboard operation
pika copied to clipboard

rsync client没有正常处理请求失败的回包

Open wangshao1 opened this issue 2 years ago • 0 comments

Is this a regression?

Yes

Description

master节点收到slave节点拉取文件的请求之后,如果本地的dump目录被删除,会向slave节点回包,返回错误,但没有设置offset字段。 slave节点在收到回包之后,会比对offset字段,如果offset字段不匹配,会认为这是一个过期的回包丢弃掉,继续等待新的回包。这种情况下,master的错误会被被意外丢弃掉,导致请求超时。

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

wangshao1 avatar Jan 05 '24 08:01 wangshao1