coder999o opened a new pull request, #5229: URL: https://github.com/apache/rocketmq-dashboard/pull/5229
## What is the purpose of the change A consumer-group listing can return at its enrichment deadline while a canceled broker call continues. That worker still mutates the returned group object, so online-client and lag fields may change during or after response serialization. ## Brief changelog - Publish completed connection and consume-stats phases through immutable snapshots. - Copy each group's latest snapshot to the response only once on the request thread; late workers cannot mutate returned groups. - Add regression tests for late connection and consume-stats results while preserving connection data available before the deadline. ## Verifying this change - `cd server && mvn -q -Dtest=RocketMQMetadataProviderTest,MetadataServiceTest,ConsumerGroupControllerTest test` (121 passed). - `cd server && mvn -q -DskipTests compile` (passed). - `cd server && mvn -q -DskipTests checkstyle:check` (passed). - `git diff --check` (passed). - No live Broker integration run; the regression tests use controlled mocks. -- 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]
