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 2021/12/08 15:37:17 UTC

[GitHub] [pulsar] Jason918 edited a comment on pull request #13190: [metadata] add MetadataCache#deleteRecursive

Jason918 edited a comment on pull request #13190:
URL: https://github.com/apache/pulsar/pull/13190#issuecomment-988922315


   > @Jason918 In `BaseReosources` there's already access to `MetadataStore`, couldn't we just use that instead of exposing it also through the `MetadataCache` interface?
   
   @merlimat Aha, yees, we can use `MetadataStore#deleteRecursive` solve the problem of `BaseResources#deleteRecursiveAsync`.
   
   Actually I am a little confusing about why do we have `MetadataCache#delete` interface, as we can just use MetadataStore interface and all cache instance comes from store instance. 
   And IMHO, delete a key in the underlying store from a cache interface is a little strange?


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