Repository navigation
[ISSUE #7038] feat: clean AdminBrokerProcessor stub paths and admin parity gaps - #7039
Conversation
|
🔊@mxsm 🚀Thanks for your contribution🎉! 💡CodeRabbit(AI) will review your code first🔥! Note 🚨The code review suggestions from CodeRabbit are to be used as a reference only, and the PR submitter can decide whether to make changes based on their own judgment. Ultimately, the project management personnel will conduct the final code review💥. |
|
Caution Review failedPull request was closed or merged during review WalkthroughImplemented missing admin broker request handlers and protocol types to support consumer offset inspection, message request mode querying, consumer group operations, and transaction half-message recovery. Added corresponding store methods for topic cleanup and consumer queue maintenance. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7039 +/- ##
==========================================
+ Coverage 55.39% 55.82% +0.43%
==========================================
Files 1061 1067 +6
Lines 174277 175897 +1620
==========================================
+ Hits 96537 98193 +1656
+ Misses 77740 77704 -36 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Which Issue(s) This PR Fixes(Closes)
Brief Description
This PR cleans a batch of low-dependency broker admin parity gaps that previously returned
unknown response, exposed unfinished store paths, or serialized incompatible payloads.Main changes:
GetEarliestMsgStoreTimeQueryConsumeTimeSpanCloneGroupOffsetCleanExpiredConsumequeueDeleteExpiredCommitlogCleanUnusedTopicResumeCheckHalfMessageCloneGroupOffsetRequestHeaderGetEarliestMsgStoretimeRequestHeaderQueryConsumeTimeSpanBodyResumeCheckHalfMessageRequestHeaderGetAllMessageRequestModeto returnMessageRequestModeSerializeWrapperinstead of the raw manager mapLocalFileMessageStore::clean_unused_topicLocalFileMessageStore::clean_expired_consumer_queueHow Did You Test This Change?
cargo test -p rocketmq-store clean_unused_topic_deletes_only_non_retained_non_system_non_lmq_topicscargo test -p rocketmq-broker clean_expired_consumequeue_returns_successcargo test -p rocketmq-broker get_all_message_request_mode_returns_configured_modescargo test -p rocketmq-remoting resume_check_half_message_request_header_deserializes_from_mapcargo test -p rocketmq-broker resume_check_half_message_requeues_half_messagecargo fmt --allcargo clippy --workspace --no-deps --all-targets --all-features -- -D warningsSummary by CodeRabbit
Release Notes
New Features
Improvements