The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/btl-reset-preview-offline has failed.
Run started by GitHub user btlqql (triggered by btlqql).

Head commit for run:
78797b0b30f384c14979f47236e1fe91ce5b9864 / btlqql <[email protected]>
fix(group): preview an offset reset for an offline group from the route

examineConsumeStats answers CONSUMER_NOT_ONLINE as soon as a consumer group has 
no live consumer, and doPreviewResetOffset turned that into allowReset=false, 
so the confirm button stayed disabled for a stopped but backlogged group 
although resetOffsetNew - the API behind the button - applies the reset to 
offline groups from the topic route.

Preview from the topic route in that case: enumerate the read queues from 
TopicRouteData, resolve each target offset with searchOffset, keep the 
committed consumer offsets (and the lag they would produce) unknown and warn 
about it. The other two isConsumerNotOnline conditions keep the previous empty 
preview.

Test: 
RocketMQAdminClientImplTest#previewResetOffsetShouldFallBackToTheTopicRouteForAnOfflineGroup
 (red on the unmodified tree: Tests run: 81, Failures: 1; green after the fix: 
Tests run: 81, Failures: 0, Errors: 0).

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/36959195842

With regards,
GitHub Actions via GitBox

Reply via email to