Hilarious12138 opened a new pull request, #11561: URL: https://github.com/apache/rocketmq/pull/11561
### Which Issue(s) This PR Fixes - Fixes #11560 ### Brief Description Filter the source group's queue offsets by the topic selected with `mqadmin cloneGroupOffset -t` before resolving broker addresses and sending updates. This prevents an offset write to a different topic on the same broker. ### How Did You Test This Change? The regression test uses two topics on the same broker. With the pre-fix command compiled against the 5.5.1 distribution, it fails on an unexpected `TopicB` update. With the fix, it passes and verifies that the `TopicA` update is still sent. The Maven reactor test also passed on macOS arm64 with Corretto 8. ```sh mvn -B -ntp -pl tools -am -Dtest=CloneGroupOffsetCommandTest -Dsurefire.failIfNoSpecifiedTests=false -Djacoco.skip=true test ``` This change was prepared with OpenAI Codex. -- 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]
