merlimat commented on code in PR #24665:
URL: https://github.com/apache/pulsar/pull/24665#discussion_r2302263344


##########
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/bookkeeper/AbstractHierarchicalLedgerManager.java:
##########
@@ -68,7 +68,8 @@ void asyncProcessLevelNodes(
             final AsyncCallback.VoidCallback finalCb, final Object context,
             final int successRc, final int failureRc) {
 
-        store.getChildren(path)
+        store.sync(path)
+                .thenCompose(__ -> store.getChildren(path))

Review Comment:
   Correct. We should be using `store.getChildrenFromStore()` (though it's 
currently protected), to bypass the cache completely.



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

Reply via email to