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

   ### Is your feature request related to a problem? Please describe.
   
   The web instance service deduplicates concurrent list requests in an 
inflight map, but mutations never invalidate it. The instance page refreshes 
with `await createInstance(...); await loadInstances()`; when the refresh 
joined a list request that had started before the mutation, the UI received the 
pre-mutation snapshot — a just-created instance was missing, or a deleted one 
still listed.
   
   ### Describe the solution you'd like
   
   Clear the dedupe cache after every successful mutation 
(create/update/delete/batch-delete/cloud import), so a read issued after a 
write always issues a fresh request. Same defect class for the mock-mode 
mutation paths.
   
   ### Describe alternatives you've considered
   
   Invalidating at mutation start (does not prevent joining a request created 
during the mutation flight) and a generation/epoch scheme (larger diff, same 
benefit).
   
   ### Additional context
   
   Fix in https://github.com/apache/rocketmq-dashboard/pull/4874
   


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