Technoboy- commented on issue #15891: URL: https://github.com/apache/pulsar/issues/15891#issuecomment-1193466315
> I solved my problem anyway. > > I tracked the code and found that "Topic policies cache have not init" most likely because something wrong with the `__change_events` topic. The broker failed to consume the system topic. In this scene of mine, the system topic can not be loaded. > > I checked the system topic and found that one partition (`__change_events-partition-1`) is `terminated` and the ledger had already beed deleted. I tried deleting the `__change_events-partition-1` but failed. Finally I delete the znode `/managed-ledgers/tenant/namespace/persistent/__change_events-partition-1` and restart the broker which is the owner of `__change_events-partition-1`, the broker auto created the partition (`allowAutoTopicCreation=true`) and then restart all brokers. Everything back to normal. What do you mean the partition is `terminated` ? Do you mean that the partition state is `terminated` which can't produce any messages but can consume ? -- 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]
