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:38 UTC
[PR] [ISSUE #10831] fix(store): handle minimum hash index in compaction offset map [rocketmq]
yuluo-yx opened a new pull request, #10841:
URL: https://github.com/apache/rocketmq/pull/10841
### Which Issue(s) This PR Fixes
- Fixes #10831
### Brief Description
Use floor modulus when mapping compaction hashes so `Integer.MIN_VALUE` always resolves to a valid offset-map entry.
### How Did You Test This Change?
- `mise x java@temurin-17 -- mvn -pl store -am -Dtest=OffsetMapTest -Dsurefire.failIfNoSpecifiedTests=false 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 #10831] fix(store): handle minimum hash index in compaction offset map [rocketmq]
Posted by "yuluo-yx (via GitHub)" <gi...@apache.org>.
yuluo-yx closed pull request #10841: [ISSUE #10831] fix(store): handle minimum hash index in compaction offset map
URL: https://github.com/apache/rocketmq/pull/10841
--
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 #10831] fix(store): handle minimum hash index in compaction offset map [rocketmq]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #10841:
URL: https://github.com/apache/rocketmq/pull/10841#issuecomment-5225051873
## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/10841?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 ([`ebb5951`](https://app.codecov.io/gh/apache/rocketmq/commit/ebb5951693129a9757af86ff0ff4382cb0d19331?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 #10841 +/- ##
=============================================
- Coverage 48.37% 48.31% -0.07%
+ Complexity 13555 13532 -23
=============================================
Files 1380 1380
Lines 101165 101165
Branches 13127 13127
=============================================
- Hits 48940 48874 -66
- Misses 46250 46301 +51
- Partials 5975 5990 +15
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/rocketmq/pull/10841?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