You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "LittleBoy18 (via GitHub)" <gi...@apache.org> on 2025/12/22 07:49:30 UTC

[PR] Fix epoch truncate [rocketmq]

LittleBoy18 opened a new pull request, #9942:
URL: https://github.com/apache/rocketmq/pull/9942

   <!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. -->
   
   ### Brief Description
   部署controller模式一主三从
   故障模拟:
   1. 部署完成后不写入消息
   2. 三个从节点依次网络延迟1分钟左右,再故障主节点触发主从切换后原主节点store.log报错
   <img width="2938" height="292" alt="image" src="https://github.com/user-attachments/assets/5627ecc4-e2e5-4d9a-a2a0-b1c574983d8e" />
   epoch文件不一致导致的问题,代码做了优化
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix epoch truncate [rocketmq]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #9942:
URL: https://github.com/apache/rocketmq/pull/9942#issuecomment-3681012197

   ## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/9942?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :x: Patch coverage is `25.00000%` with `3 lines` in your changes missing coverage. Please review.
   :white_check_mark: Project coverage is 48.71%. Comparing base ([`47c6e89`](https://app.codecov.io/gh/apache/rocketmq/commit/47c6e89589183bb0cc95463b94495aaac5cee9f8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`3a817f8`](https://app.codecov.io/gh/apache/rocketmq/commit/3a817f88328c662f01d8724c06013a2a9c04d5fe?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 19 commits behind head on develop.
   
   | [Files with missing lines](https://app.codecov.io/gh/apache/rocketmq/pull/9942?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
   |---|---|---|
   | [...cketmq/store/ha/autoswitch/AutoSwitchHAClient.java](https://app.codecov.io/gh/apache/rocketmq/pull/9942?src=pr&el=tree&filepath=store%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Frocketmq%2Fstore%2Fha%2Fautoswitch%2FAutoSwitchHAClient.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3RvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3JvY2tldG1xL3N0b3JlL2hhL2F1dG9zd2l0Y2gvQXV0b1N3aXRjaEhBQ2xpZW50LmphdmE=) | 25.00% | [2 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/rocketmq/pull/9942?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@              Coverage Diff              @@
   ##             develop    #9942      +/-   ##
   =============================================
   + Coverage      48.39%   48.71%   +0.31%     
   - Complexity     12283    12737     +454     
   =============================================
     Files           1315     1324       +9     
     Lines          93918    96401    +2483     
     Branches       12046    12434     +388     
   =============================================
   + Hits           45455    46962    +1507     
   - Misses         42858    43685     +827     
   - Partials        5605     5754     +149     
   ```
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/rocketmq/pull/9942?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix epoch truncate [rocketmq]

Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin merged PR #9942:
URL: https://github.com/apache/rocketmq/pull/9942


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org