Frun1na opened a new issue, #4926:
URL: https://github.com/apache/rocketmq-dashboard/issues/4926

   ### Before Creating the Bug Report
   
   - [x] I have searched the [open 
issues](https://github.com/apache/rocketmq-dashboard/issues) of this repository 
and believe that this is not a duplicate.
   - [x] This is a defect in RocketMQ Studio, not a usage question and not a 
defect in another Apache RocketMQ repository.
   - [x] I can reproduce this on the current `master` branch, or I have stated 
the exact version I am running below.
   
   ### Studio Version
   
   branch: `rocketmq-studio`
   git commit id: `1ef5d860` (upstream tip at the time of the report)
   deployed as: built from source
   
   ### Runtime Environment
   
   Verified by code tracing and unit tests on `rocketmq-studio` @ `1ef5d860` 
(vitest for `web/`, JUnit for `server/`), not against a specific browser or 
deployment.
   
   ### Connected RocketMQ Cluster
   
   Not cluster-specific: the defect lives in the code path and reproduces on 
any deployment where the trigger condition below holds.
   
   ### Describe the Bug
   
   The reset-offset preview hard-blocks on consume stats: an offline group 
throws `CONSUMER_NOT_ONLINE` and the preview returns `allowReset=false`, 
leaving the 确认重置 button permanently disabled. `resetOffsetNew` explicitly 
supports offline groups, so the two endpoints disagree.
   
   ### Steps to Reproduce
   
   1. Stop all consumers of a group (or use a group with backlog).
   2. Open the 重置消费位点 dialog, pick a subscribed topic, click 预览.
   3. The preview says 'Consumer group is not online and no consume offset data 
is available' and the confirm button stays disabled forever.
   
   ### What Did You Expect to See?
   
   The preview computes target offsets from the topic route (which 
resetOffsetNew itself uses offline) and allows the reset with appropriate 
warnings.
   
   ### What Did You See Instead?
   
   A stopped, backlogged group can never be reset through the UI.
   


-- 
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]

Reply via email to