Shawyeok commented on issue #14779: URL: https://github.com/apache/pulsar/issues/14779#issuecomment-1537956667
We are encountering the same issue with the Pulsar `2.8.1` codebase. Here are my observations: 1. The occurrence of this issue for a specific broker/topic/subscription is unpredictable. 2. This issue only arises in our test environment (with limited resources) after the overload shedder is triggered: ``` 2023-05-07T06:18:15.865Z [pulsar-load-manager-1-1] INFO org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerImpl - [Overload shedder] Unloading bundle: platform/dp/0x40000000_0x80000000 from broker 172.17.5.176:8080 ``` The log for the new topic owner broker indicates that the managed-ledger initializes successfully, but it doesn't load any cursor. <img width="1665" alt="image" src="https://user-images.githubusercontent.com/5058708/236774130-cf400618-4a2b-421f-ac9f-f99e0b5afd9d.png"> When a user attempts to consume this topic, they'll encounter the following error: `org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = BadVersion for /managed-ledgers/platform/dp/persistent/resume.complete.result-ai.bert.cv.change.nlp.sub-DLQ/ai.bert.cv.change.nlp.sub` 3. Unload the topic resolves the problem. -- 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]
