shibd commented on a change in pull request #13850: URL: https://github.com/apache/pulsar/pull/13850#discussion_r790228145
########## File path: pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/AbstractMetadataStore.java ########## @@ -227,15 +227,15 @@ public void accept(Notification n) { } // Ensure caches are invalidated before the operation is confirmed return storeDelete(path, expectedVersion) - .thenRun(() -> { + .thenRunAsync(() -> { Review comment: @Jason918 @codelipenghui Sorry for the late response. I think we should ensure, In this way, the cache can be prevented from being executed concurrently -- 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-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org