leizhiyuan opened a new pull request, #10650: URL: https://github.com/apache/rocketmq/pull/10650
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. --> ### Which Issue(s) This PR Fixes <!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-that-issue-using-keywords>) to ensure automatic closure. --> - N/A ### Brief Description <!-- Write a brief description for your pull request to help the maintainer understand the reasons behind your changes. --> This PR upgrades the DLedger dependency to `0.3.3-SNAPSHOT` and adapts RocketMQ to the related API changes: - Update DLedger future imports to `io.openmessaging.storage.dledger.common`. - Replace `setEnableBatchPush` with `setEnableBatchAppend`. - Read the committed index from `MemberState` after `DLedgerStore#getCommittedIndex()` was removed. - Adapt the DLedger controller state machine to the new `ApplyEntryIterator` API. - Derive the committed position from the committed DLedger entry after `DLedgerMmapFileStore#getCommittedPos()` was removed. - Remove the obsolete `fastjson1` dependency and switch the remaining compatibility test usage to `fastjson2`. ### How Did You Test This Change? <!-- In order to ensure the code quality of Apache RocketMQ, we expect every pull request to have undergone thorough testing. --> - `mvn -DskipTests -Dspotbugs.skip=true compile` - `mvn -DskipTests -Dspotbugs.skip=true test-compile` - `git diff --check` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
