apache / rocketmq

Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications.
https://rocketmq.apache.org/
Apache License 2.0
21.29k stars 11.71k forks source link

[ISSUE #8976] Modify file segment construct method #8977

Open lizhimins opened 2 days ago

lizhimins commented 2 days ago

Which Issue(s) This PR Fixes

Fixes #8976

Brief Description

How Did You Test This Change?

codecov-commenter commented 2 days ago

Codecov Report

Attention: Patch coverage is 88.23529% with 4 lines in your changes missing coverage. Please review.

Project coverage is 47.64%. Comparing base (a8779c0) to head (6e25f6c).

Files with missing lines Patch % Lines
...ocketmq/tieredstore/provider/PosixFileSegment.java 80.95% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #8977 +/- ## ============================================= + Coverage 47.61% 47.64% +0.03% - Complexity 11758 11759 +1 ============================================= Files 1304 1304 Lines 91188 91193 +5 Branches 11713 11713 ============================================= + Hits 43418 43449 +31 + Misses 42391 42360 -31 - Partials 5379 5384 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: