michaeljmarshall commented on pull request #14177:
URL: https://github.com/apache/pulsar/pull/14177#issuecomment-1033359248


   > > After caching the miss, broker 2 only logs two ZK events:
   > 
   > This is interesting that broker2 does not receive the event `NodeCreated 
path:/managed-ledgers/test/a/persistent/a`. I think this is the root cause. If 
it does receive this event, the `childrenCache` would be properly invalidated, 
right?
   
   @Jason918 - you're correct, broker 2 does not receive this notification. If 
I understand correctly, it doesn't get that notification because it isn't 
watching that node. It is watching `/managed-ledgers/test/a/persistent` because 
the `internalGetList` method triggers the "exists" watch when it also creates 
the cached value for `/managed-ledgers/test/a/persistent`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to