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/08 06:37:32 UTC
[PR] [ISSUE #10829] fix(common): handle negative version values [rocketmq]
yuluo-yx opened a new pull request, #10839:
URL: https://github.com/apache/rocketmq/pull/10839
### Which Issue(s) This PR Fixes
- Fixes #10829
### Brief Description
Clamp negative version values to the earliest known RocketMQ version so remote metadata cannot trigger an array index failure.
### How Did You Test This Change?
- `mise x java@temurin-17 -- mvn -pl common -Dtest=MQVersionTest test`
--
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 #10829] fix(common): handle negative version values [rocketmq]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #10839:
URL: https://github.com/apache/rocketmq/pull/10839#issuecomment-5225052205
## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/10839?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.31%. 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 ([`fa49f0c`](https://app.codecov.io/gh/apache/rocketmq/commit/fa49f0cc49e9e8bc6f90cb0d94733e0dde8c7a8d?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 #10839 +/- ##
=============================================
- Coverage 48.37% 48.31% -0.07%
+ Complexity 13555 13534 -21
=============================================
Files 1380 1380
Lines 101165 101169 +4
Branches 13127 13129 +2
=============================================
- Hits 48940 48879 -61
- Misses 46250 46301 +51
- Partials 5975 5989 +14
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/rocketmq/pull/10839?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] [ISSUE #10829] fix(common): handle negative version values [rocketmq]
Posted by "yuluo-yx (via GitHub)" <gi...@apache.org>.
yuluo-yx closed pull request #10839: [ISSUE #10829] fix(common): handle negative version values
URL: https://github.com/apache/rocketmq/pull/10839
--
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