BewareMyPower opened a new pull request, #16803:
URL: https://github.com/apache/pulsar/pull/16803

   Fixes https://github.com/apache/pulsar/issues/16802
   
   ### Motivation
   
   We should not run `sendMessagesToConsumers` in a separated thread. If the 
execute order is
   
   > readMoreEntries (1st) -> readEntriesComplete (1st) -> readMoreEntries 
(2nd) -> sendMessagesToConsumers (1st)
   
   The replay queue would be read repeatedly.
   
   ### Modifications
   
   Revert #16603.
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [x] `doc-not-needed` 
   (Please explain why)
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


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