Shoothzj opened a new issue #12159:
URL: https://github.com/apache/pulsar/issues/12159


   **Describe the bug**
   NPE When `OpReadEntry.create()`. When the `ledgerId` in 
`ManagedLedgerImpl.ledgers` is  null.
   the call to `OpReadEntry.create()` will trigger `readEntryFailed` callback 
but this time the cursor of `OpReadEntry` is still unseted.
   
   More seriously, it will make the variable `havePendingRead` can't become 
true again.
   
   **To Reproduce**
   It's quitely hard to reporduce the problem. In our environment, we shutdown 
all bookkeepers meanwhile, has the probability to reporduce it.
   
   **Screenshots**
   
![image](https://user-images.githubusercontent.com/12933197/134504093-fbd6b444-ef56-4917-b393-2b7391234507.png)
   
   
   


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