Shoothzj commented on pull request #11813:
URL: https://github.com/apache/pulsar/pull/11813#issuecomment-925839252


   @lhotari code 
`managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java`
 the callback paas the ctx as null.
   But in class `PersistentDispatcherSingleActiveConsumer` `readEntryFailed` 
method acquire the ctx(Consumer) not be null.
   So the code should be
   
   `            opReadEntry.readEntriesFailed(new 
ManagedLedgerException.NoMoreEntriesToReadException("The ceilingKey(K key) 
method is used to return the " +
                       "least key greater than or equal to the given key, or 
null if there is no such key"), ctx);`
   
   Am i right ?


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