You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuluo-yx (via GitHub)" <gi...@apache.org> on 2026/08/09 04:37:26 UTC
[PR] [ISSUE #10870] fix(client): preserve maximum process queue offset [rocketmq]
yuluo-yx opened a new pull request, #10880:
URL: https://github.com/apache/rocketmq/pull/10880
### Which Issue(s) This PR Fixes
- Fixes #10870
### Brief Description
ProcessQueue previously overwrote queueOffsetMax with the last newly inserted message. This change retains the numeric maximum so an out-of-order batch cannot make removeMessage return a stale next offset.
### How Did You Test This Change?
- mise exec java@zulu-8.94.0.17 -- mvn -pl client -am -DskipITs -Dtest=ProcessQueueTest -Dsurefire.failIfNoSpecifiedTests=false test (9 tests passed)
- Checkstyle and SpotBugs passed in the same Maven reactor.
- git diff --check and the 400-line scope gate passed.
- Not run: full repository build, container tests, or end-to-end tests.
--
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] [ISSUE #10870] fix(client): preserve maximum process queue offset [rocketmq]
Posted by "yuluo-yx (via GitHub)" <gi...@apache.org>.
yuluo-yx closed pull request #10880: [ISSUE #10870] fix(client): preserve maximum process queue offset
URL: https://github.com/apache/rocketmq/pull/10880
--
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] [ISSUE #10870] fix(client): preserve maximum process queue offset [rocketmq]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #10880:
URL: https://github.com/apache/rocketmq/pull/10880#issuecomment-5229878282
## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/10880?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 48.28%. Comparing base ([`fd0c959`](https://app.codecov.io/gh/apache/rocketmq/commit/fd0c95920e0deac96ce2ae27442747cc5e65e930?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`4d280e2`](https://app.codecov.io/gh/apache/rocketmq/commit/4d280e2452b865e03a5cd20d2bb081760ccbde58?dropdown=coverage&el=desc&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 #10880 +/- ##
=============================================
- Coverage 48.39% 48.28% -0.12%
+ Complexity 13562 13523 -39
=============================================
Files 1380 1380
Lines 101165 101165
Branches 13127 13127
=============================================
- Hits 48962 48849 -113
- Misses 46233 46320 +87
- Partials 5970 5996 +26
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/rocketmq/pull/10880?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