Jason918 edited a comment on issue #14105:
URL: https://github.com/apache/pulsar/issues/14105#issuecomment-1030813031


   
https://github.com/apache/pulsar/blob/00e7cc6e3429d38d6e24af3dc5a840ff9a73601f/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java#L1118-L1149
   
   The root cause is that `checkTopicNsOwnership` fails in L1118. So L1126 
`addTopicToStatsMaps()` is not executed, and this topic is not added to 
`BrokerService#multiLayerTopicsMap` which serves the `GetListInBundle` cmd.
   This will definitely affect production code, like sending messages to 
non-persistent topic which is not properly initialize. (The remove in L1147 may 
fail).
   
   No simple fix yet, working on this.


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