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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
