rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

Fix dledger mode expired message can not delete on jdk9+

Open LittleBoy18 opened this issue 2 months ago • 2 comments

Which Issue(s) This PR Fixes

Fixes #8903

Brief Description

<dleger.version>0.3.1.2</dleger.version>在jdk9+的环境下jdk的unsafe方法没有权限调用,导致dledger模式运行在jdk9+环境中过期消息无法删除 <dleger.version>0.3.2</dleger.version>已经适配jdk9+

How Did You Test This Change?

LittleBoy18 avatar Nov 13 '25 07:11 LittleBoy18

Codecov Report

:x: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 49.71%. Comparing base (e4170f5) to head (498e97c). :warning: Report is 32 commits behind head on develop.

Files with missing lines Patch % Lines
...controller/impl/DLedgerControllerStateMachine.java 60.00% 2 Missing :warning:
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9851      +/-   ##
=============================================
+ Coverage      48.37%   49.71%   +1.34%     
- Complexity     12261    12709     +448     
=============================================
  Files           1314     1315       +1     
  Lines          93777    93936     +159     
  Branches       12034    12049      +15     
=============================================
+ Hits           45361    46702    +1341     
+ Misses         42823    41522    -1301     
- Partials        5593     5712     +119     

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Nov 13 '25 08:11 codecov-commenter

期待这个代码,尽快合并

leyou240 avatar Dec 01 '25 07:12 leyou240