eolivelli commented on pull request #9900: URL: https://github.com/apache/pulsar/pull/9900#issuecomment-799166672
@315157973 IMHO there is no need to change the name to readClonedModifyUpdate because it is expected that entries in the cache are to be managed as immutable. We should fix that implementation, write it explicitly in the JavaDocs, and possibly create a little test suite that asserts the behaviour of any implementations of the MetadataCache interface (for instance fail if you are able to change the internal status of cached objects by calling "set". ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
