You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2023/04/20 01:34:51 UTC
[GitHub] [rocketmq] zuoHx580 created a discussion: slave节点没有同步master
GitHub user zuoHx580 created a discussion: slave节点没有同步master
![image](https://user-images.githubusercontent.com/45234194/233235012-6e7584d1-1b1f-4789-b599-a47c3b1e0f51.png)
应该是slave没有和master对齐,如何手动对齐呢
GitHub link: https://github.com/apache/rocketmq/discussions/6621
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] zuoHx580 edited a comment on the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user zuoHx580 edited a comment on the discussion: slave节点没有同步master
> 似乎epochCheckpoint中的数据与commitLog中的数据无法对齐,是否有手动删除过相关文件呢?
>
> 建议下线清理epochFileCheckpoint和epochFileCheckpoint.bak后重启
有删过,就是因为没法同步,所以删过一次
刚刚又试了一遍,还是不行,slave的机子也没有生成epochFileCheckpoint
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668249
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] zuoHx580 edited a comment on the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user zuoHx580 edited a comment on the discussion: slave节点没有同步master
> > ![image](https://user-images.githubusercontent.com/45234194/233235012-6e7584d1-1b1f-4789-b599-a47c3b1e0f51.png)
> >
> > 应该是slave没有和master对齐,如何手动对齐呢
>
> 看一下master和slave的store.log,日志应该有相关提示
![image](https://user-images.githubusercontent.com/45234194/233235946-9af14e8d-1024-404e-aed1-b51fa09689db.png)
同步异常
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668053
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] zuoHx580 edited a discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user zuoHx580 edited a discussion: slave节点没有同步master
![image](https://user-images.githubusercontent.com/45234194/233235012-6e7584d1-1b1f-4789-b599-a47c3b1e0f51.png)
应该是slave没有和master对齐,如何手动对齐呢
GitHub link: https://github.com/apache/rocketmq/discussions/6621
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] zuoHx580 added a comment to the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user zuoHx580 added a comment to the discussion: slave节点没有同步master
> > ![image](https://user-images.githubusercontent.com/45234194/233235012-6e7584d1-1b1f-4789-b599-a47c3b1e0f51.png)
> >
> > 应该是slave没有和master对齐,如何手动对齐呢
>
> 看一下master和slave的store.log,日志应该有相关提示
![image](https://user-images.githubusercontent.com/45234194/233235946-9af14e8d-1024-404e-aed1-b51fa09689db.png)
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668053
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] RongtongJin added a comment to the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user RongtongJin added a comment to the discussion: slave节点没有同步master
> ![image](https://user-images.githubusercontent.com/45234194/233235012-6e7584d1-1b1f-4789-b599-a47c3b1e0f51.png)
>
>
>
> 应该是slave没有和master对齐,如何手动对齐呢
看一下master和slave的store.log,日志应该有相关提示
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668033
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] RongtongJin added a comment to the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user RongtongJin added a comment to the discussion: slave节点没有同步master
主的store.log有信息吗?另外用的版本是?
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668068
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] RongtongJin added a comment to the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user RongtongJin added a comment to the discussion: slave节点没有同步master
似乎epochCheckpoint中的数据与commitLog中的数据无法对齐,是否有手动删除过相关文件呢?
建议下线清理epochFileCheckpoint和epochFileCheckpoint.bak后重启
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668144
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] zuoHx580 added a comment to the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user zuoHx580 added a comment to the discussion: slave节点没有同步master
> 主的store.log有信息吗?另外用的版本是?
这是主的store.log,版本为5.1.0
![image](https://user-images.githubusercontent.com/45234194/233236543-612b5d94-a84a-4454-8d37-e8fd7b7d3ee5.png)
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668090
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] zuoHx580 edited a discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user zuoHx580 edited a discussion: slave节点没有同步master
![image](https://user-images.githubusercontent.com/45234194/233235012-6e7584d1-1b1f-4789-b599-a47c3b1e0f51.png)
应该是slave没有和master对齐,如何手动对齐呢
GitHub link: https://github.com/apache/rocketmq/discussions/6621
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] zuoHx580 edited a comment on the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user zuoHx580 edited a comment on the discussion: slave节点没有同步master
> 似乎epochCheckpoint中的数据与commitLog中的数据无法对齐,是否有手动删除过相关文件呢?
>
> 建议下线清理epochFileCheckpoint和epochFileCheckpoint.bak后重启
有删过,就是因为没法同步,所以删过一次
刚刚又试了一遍,还是不行,slave的机子也没有生成epochFileCheckpoint
然后我把slave ~/store下的文件全删了,再重启,就可以同步了
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668249
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
[GitHub] [rocketmq] zuoHx580 added a comment to the discussion: slave节点没有同步master
Posted by GitBox <gi...@apache.org>.
GitHub user zuoHx580 added a comment to the discussion: slave节点没有同步master
> 似乎epochCheckpoint中的数据与commitLog中的数据无法对齐,是否有手动删除过相关文件呢?
>
> 建议下线清理epochFileCheckpoint和epochFileCheckpoint.bak后重启
有删过,就是因为没法同步,所以删过一次
GitHub link: https://github.com/apache/rocketmq/discussions/6621#discussioncomment-5668249
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org