You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "xiegongshan (via GitHub)" <gi...@apache.org> on 2024/06/18 11:25:55 UTC

[D] 主从数据没有同步 [rocketmq]

GitHub user xiegongshan created a discussion: 主从数据没有同步

![master](https://github.com/apache/rocketmq/assets/41192598/e7d7b4ee-e326-4baa-9361-f10b2d537c5c)
![slave](https://github.com/apache/rocketmq/assets/41192598/230d7eda-87a9-4e86-a3a5-74adf2fe3469)
![slave1](https://github.com/apache/rocketmq/assets/41192598/5e7e1d5b-a036-4b18-b62e-ba94ba08f758)


GitHub link: https://github.com/apache/rocketmq/discussions/8307

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan added a comment to the discussion: Dledger集群模式下,主从数据没有同步

> 可以补充下 broker_default.log 中的日志信息

您好,能在哪里看到同步失败的错误日志呢?

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9811745

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] 主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan closed a discussion: 主从数据没有同步

![master](https://github.com/apache/rocketmq/assets/41192598/e7d7b4ee-e326-4baa-9361-f10b2d537c5c)
![slave](https://github.com/apache/rocketmq/assets/41192598/230d7eda-87a9-4e86-a3a5-74adf2fe3469)
![slave1](https://github.com/apache/rocketmq/assets/41192598/5e7e1d5b-a036-4b18-b62e-ba94ba08f758)


GitHub link: https://github.com/apache/rocketmq/discussions/8307

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "hakusai22 (via GitHub)" <gi...@apache.org>.
GitHub user hakusai22 added a comment to the discussion: Dledger集群模式下,主从数据没有同步

hello 想问下你部署的1master 2slave节点 当master down了之后 slave切到master节点 有写消息的能力吗? 

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-11379957

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "cserwen (via GitHub)" <gi...@apache.org>.
GitHub user cserwen added a comment to the discussion: Dledger集群模式下,主从数据没有同步

是在正常同步的,可以对比下 各个 Broker 中的存储文件,如果一致就说明同步是正常进行的,可能需要排查下监控的问题 @xiegongshan 

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9812137

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] 主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan added a comment to the discussion: 主从数据没有同步

这是一个补充

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9805347

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "cserwen (via GitHub)" <gi...@apache.org>.
GitHub user cserwen added a comment to the discussion: Dledger集群模式下,主从数据没有同步

可以补充下 broker_default.log 中的日志信息

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9805833

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan added a comment to the discussion: Dledger集群模式下,主从数据没有同步

> dledger 不是通过 storePathCommitLog 配置的,你看下 storePathRootDir/dledger-n0/data 这里应该有

或者您是否能给我一个dledger集群模式的部署文档呢,我参考着重新来一次。

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9813456

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan added a comment to the discussion: Dledger集群模式下,主从数据没有同步

> dledger 不是通过 storePathCommitLog 配置的,你看下 storePathRootDir/dledger-n0/data 这里应该有
![commit错误](https://github.com/apache/rocketmq/assets/41192598/cf7ecc00-a744-417f-9800-bd30d4d14d8d)

data下面只有一个000000000000000的文件

然后/tmp/rmqstore/node00/commitlog 下面也没有任何内容

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9812556

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "AliBaBajavaer (via GitHub)" <gi...@apache.org>.
GitHub user AliBaBajavaer added a comment to the discussion: Dledger集群模式下,主从数据没有同步

关于DLedger,如果某条DLedgerEntry主从同步超时会怎么处理?我看源码只说到了返回写入失败,那master,需要删除这条消息吗


GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-14021467

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan added a comment to the discussion: Dledger集群模式下,主从数据没有同步

> broker_default.

![default_broker日志](https://github.com/apache/rocketmq/assets/41192598/25b12c2a-568c-48c2-9b9d-e016e5fc7e73)
几乎都是一些重复的信息

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9811701

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] 主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan added a comment to the discussion: 主从数据没有同步

![管理页面](https://github.com/apache/rocketmq/assets/41192598/ffb33c42-1ae5-4a2b-8eb4-7d1d58770ae0)


GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9805336

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] 主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan reopened a discussion: 主从数据没有同步

![master](https://github.com/apache/rocketmq/assets/41192598/e7d7b4ee-e326-4baa-9361-f10b2d537c5c)
![slave](https://github.com/apache/rocketmq/assets/41192598/230d7eda-87a9-4e86-a3a5-74adf2fe3469)
![slave1](https://github.com/apache/rocketmq/assets/41192598/5e7e1d5b-a036-4b18-b62e-ba94ba08f758)


GitHub link: https://github.com/apache/rocketmq/discussions/8307

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan added a comment to the discussion: Dledger集群模式下,主从数据没有同步

> Broker 中的存储文件

您好我发现我没有生成commitlog文件。

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9812199

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan deleted a comment on the discussion: Dledger集群模式下,主从数据没有同步

![commit错误](https://github.com/apache/rocketmq/assets/41192598/7870c90d-fdb6-460b-b67e-9c6dcee44252)
data下面只有一个000000000000000的文件

然后/tmp/rmqstore/node00/commitlog 下面也没有任何内容

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9812502

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "leozhaov (via GitHub)" <gi...@apache.org>.
GitHub user leozhaov edited a comment on the discussion: Dledger集群模式下,主从数据没有同步

碰到相同的问题 请问下怎么解决的 @xiegongshan 

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-11167381

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "leozhaov (via GitHub)" <gi...@apache.org>.
GitHub user leozhaov added a comment to the discussion: Dledger集群模式下,主从数据没有同步

碰到相同的问题 请问下怎么解决的

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-11167381

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan added a comment to the discussion: Dledger集群模式下,主从数据没有同步

![commit错误](https://github.com/apache/rocketmq/assets/41192598/7870c90d-fdb6-460b-b67e-9c6dcee44252)
data下面只有一个000000000000000的文件

然后/tmp/rmqstore/node00/commitlog 下面也没有任何内容

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9812502

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "xiegongshan (via GitHub)" <gi...@apache.org>.
GitHub user xiegongshan edited a discussion: Dledger集群模式下,主从数据没有同步

![master](https://github.com/apache/rocketmq/assets/41192598/e7d7b4ee-e326-4baa-9361-f10b2d537c5c)
![slave](https://github.com/apache/rocketmq/assets/41192598/230d7eda-87a9-4e86-a3a5-74adf2fe3469)
![slave1](https://github.com/apache/rocketmq/assets/41192598/5e7e1d5b-a036-4b18-b62e-ba94ba08f758)


GitHub link: https://github.com/apache/rocketmq/discussions/8307

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] Dledger集群模式下,主从数据没有同步 [rocketmq]

Posted by "cserwen (via GitHub)" <gi...@apache.org>.
GitHub user cserwen added a comment to the discussion: Dledger集群模式下,主从数据没有同步

dledger 不是通过 storePathCommitLog 配置的,你看下 storePathRootDir/dledger-n0/data 这里应该有

GitHub link: https://github.com/apache/rocketmq/discussions/8307#discussioncomment-9812328

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org