gosonzhang commented on PR #25501:
URL: https://github.com/apache/pulsar/pull/25501#issuecomment-4222245550

   > > While normally inFlightTasks contains at most one pending read task 
(guaranteed by hasPendingRead() in acquirePermitsIfNotFetchingSchema()), in 
exceptional scenarios, multiple tasks with entries == null may occur.
   > 
   > Can you provide a detailed explanation of this scenario and add a unit 
test to cover it?
   
   Improvement to the existing implementation: If multiple tasks with `entries 
== null` actually appear in `inFlightTasks`, the previous implementation would 
inevitably cause consumption stuck.


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