tju-yxq opened a new issue, #3297:
URL: https://github.com/apache/rocketmq-dashboard/issues/3297

   ## Problem
   
   Message Explorer keeps an in-flight trace request in `traceCacheRef` so 
reopening the same message does not issue duplicate work. The cache is a plain 
`Map` and successful entries are never evicted. Every distinct combination of 
instance, topic, message ID, and custom trace topic therefore remains 
referenced for the lifetime of the page component.
   
   Operators who investigate many messages during a long dashboard session can 
steadily grow this map. The trace result promises retain their resolved value 
and any captured response data even though the UI only needs the most recent 
investigation. Failed requests are removed, but successful requests have no 
bound or expiry.
   
   ## Expected behavior
   
   - bound the number of retained trace entries and evict the 
least-recently-used or oldest entries;
   - keep in-flight request de-duplication intact;
   - remove rejected requests as today;
   - make the bound explicit and test the eviction behavior;
   - do not change trace query results or history recording.
   
   This is a client-side lifecycle issue in Message Explorer, separate from 
trace request correctness and from server-side query history retention.


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