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

   ## Problem
   
   `ClusterRepositoryImpl` documents `findById` as returning an independent 
snapshot, but `defensiveCopy` reuses the mutable `ClusterConfigVO` reference. A 
caller can mutate `cluster.getConfig()` from one read and alter the 
repository's later reads without using an update operation.
   
   ## Scope
   
   - Deep-copy the Cluster configuration as part of repository snapshots.
   - Add a focused regression test that mutates a returned config and verifies 
the next read is unchanged.
   
   ## Track
   
   Track 1 / Cluster runtime state isolation.


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