You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/02/07 17:33:01 UTC

[GitHub] [pulsar] lhotari edited a comment on pull request #12788: Ensure cache is refreshed (and not just invalidated) after a store write

lhotari edited a comment on pull request #12788:
URL: https://github.com/apache/pulsar/pull/12788#issuecomment-1031730711


   @merlimat I have a question regarding the solution in this PR: why is the cached entry always invalidated or refreshed? After the change has been made to Zookeeper, is there a specific reason why the same entry cannot be put input the Metadata cache? Since the cache entry is type of https://github.com/apache/pulsar/blob/master/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/api/CacheGetResult.java , it already contains the reference to the Stat object instance and therefore could resolve a cache put conflict?


-- 
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@pulsar.apache.org

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