You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/11 02:06:34 UTC

[PR] fix(cluster): isolate configuration snapshots [rocketmq-dashboard]

Aias00 opened a new pull request, #1531:
URL: https://github.com/apache/rocketmq-dashboard/pull/1531

   Closes #1528
   
   `ClusterRepositoryImpl.findById` promised an independent snapshot but shared the mutable `ClusterConfigVO` reference. This change deep-copies the configuration so callers cannot mutate repository state through a read result.
   
   Validation:
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -f server/pom.xml -Dtest=ClusterRepositoryImplTest test` (3 tests passed)
   
   The test was executed with the compilation fixes from #1530 present; this PR remains independent and contains only the snapshot-isolation change.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(cluster): isolate configuration snapshots [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins merged PR #1531:
URL: https://github.com/apache/rocketmq-dashboard/pull/1531


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org