Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

全量同步异常 #2950

Open
loverkoo opened this issue Nov 13, 2024 · 5 comments
Open

全量同步异常 #2950

loverkoo opened this issue Nov 13, 2024 · 5 comments
Labels
☢️ Bug Something isn't working

Comments

@loverkoo
Copy link

loverkoo commented Nov 13, 2024

Is this a regression?

Yes

Description

pika4.0.1同版本之间(3.5.5版本有同样问题),新建slave,出现无法全量同步。
网络环境,master在内网 ,只有内网ip,slave在外网,slave去master同步只能通过路由nat方式去连接。
只是全量同步有问题。
增量没问题,因为如果是新建两个空库,有机会同步成功,状态也能看到up。
但实际上不是空库,因为无法完成全量同步,也无法进入到增量同步状态。

日志是这样不断重试,直到最后完全失败后终止同步了

701 pika_rm.cc:510] Slave DB: db0 Activating Rsync ... (retry count:18)
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 0
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 1
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 2
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 3
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 4
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 5
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 6
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 7
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 8
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 9
701 rsync_client.cc:294] copy remote meta failed! error:Timeout: rsync timeout: timeout during(in ms) is 1000
701 rsync_client.cc:70] RsyncClient recover failed
701 pika_rm.cc:996] Slave DB: db0 rsync failed! full synchronization will be retried later
701 pika_rm.cc:510] Slave DB: db0 Activating Rsync ... (retry count:19)
701 rsync_client.cc:374] rsync PullRemoteMeta request timeout, retry times: 0

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

No response

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

版本:4.0.1 and 3.5.5
linux:ubuntu 22.04

Anything else?

有查到之前类似情况,不知道是不是同样的问题,但并未修复
#1904

@loverkoo loverkoo added the ☢️ Bug Something isn't working label Nov 13, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: Full synchronization exception

@Mixficsol
Copy link
Collaborator

是否是3.5版本的Pika和4.0的Pika做主从关系

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Is there a master-slave relationship between Pika version 3.5 and Pika 4.0?

@loverkoo
Copy link
Author

是否是3.5版本的Pika和4.0的Pika做主从关系

不是,全是同版本同步。
4.0.1版和3.5.5版都有问题,现象一样。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Is there a master-slave relationship between Pika version 3.5 and Pika 4.0?

No, they are all synchronized with the same version.
Both versions 4.0.1 and 3.5.5 have problems, and the phenomenon is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants