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

   ### Description
   
   `useClusterStore.fetchClusters()` applies every completed `listClusters()` 
response to the store. When a slow refresh starts first and a faster refresh 
starts later, the older response can finish last and overwrite the newer 
cluster list.
   
   ### Location
   
   `web/src/stores/clusterStore.ts`
   
   ### Impact
   
   Cluster pages and selectors can show stale cluster topology after 
overlapping refreshes. This is risky for the Studio multi-cluster control plane 
because subsequent UI actions may use outdated cluster data.
   
   ### Suggested fix
   
   Track the latest fetch sequence and only commit `clusters` and 
`loading=false` for the latest request. Add a regression test with two deferred 
`listClusters()` promises where the second request resolves first.
   
   ### Scope
   
   RocketMQ Studio Track 1 / multi-cluster control plane state handling.


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