X-LightYear opened a new issue, #4996:
URL: https://github.com/apache/rocketmq-dashboard/issues/4996

   ## Problem
   
   The System Alerts maintenance-window dialog can display an older page after 
the operator changes pages quickly.
   
   ## Reproduction
   
   1. Open System Alerts.
   2. Open Maintenance Windows with at least three pages.
   3. Select page 2, then select page 3 before the page-2 request completes.
   4. Let page 3 return first, then let page 2 return.
   
   ## Expected behavior
   
   The dialog remains on the newest requested page (page 3), and the older 
page-2 response is ignored.
   
   ## Actual behavior
   
   The page-2 response updates the list after page 3 has rendered, so the 
dialog shows stale maintenance-window data and reports the wrong page.
   
   ## Root cause
   
   loadSilences applied every successful response directly to silences, 
silenceTotal, and silencePage without tracking which request was the latest.
   
   ## Scope
   
   Add a request-generation guard for maintenance-window pagination responses. 
Include deterministic deferred-Promise regression coverage.


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