Loyal-Young opened a new issue, #6702:
URL: https://github.com/apache/rocketmq-dashboard/issues/6702

   ### Before Creating the Bug Report
   
   - [x] I searched the existing issues and pull requests for this failure path.
   - [x] This is a RocketMQ Studio defect reproducible on `rocketmq-studio` at 
`8bbe7947`.
   
   ### Describe the Bug
   
   The server query history modal loads its statistics and selected history 
page with `Promise.all`. If either endpoint rejects, the successful endpoint's 
result is discarded. A transient summary failure therefore hides a usable 
message or trace history page. A page failure similarly hides the usable 
summary, while its zero defaults make the failure look like a real zero-query 
result.
   
   ### Steps to Reproduce
   
   1. Open the query history modal for an instance with a stored message query.
   2. Let the selected history list return a row, but make 
`getQueryHistorySummary` reject (for example, a transient failure on that 
endpoint).
   3. Observe that the row is absent and the modal reports a general history 
load failure.
   
   The converse occurs when the list rejects and the summary succeeds: the 
known counts are displayed as zero.
   
   ### Expected Behavior
   
   Show whichever request succeeded, identify the failed part, and allow retry. 
Unknown statistics should have a missing-value placeholder rather than zero.
   
   ### Scope
   
   This only changes failure handling for the modal's two independent reads. It 
does not change the history API or pagination contract.
   
   ### Are You Willing to Submit a Pull Request?
   
   - [x] Yes.
   


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