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

   Fixes #14848
   
   ### Motivation
   
   We should execute `callback` before executing `readerCreatedCallback_`, 
otherwise, we may get the wrong consumers size. More see:
   
https://github.com/apache/pulsar/blob/master/pulsar-client-cpp/lib/ReaderImpl.cc#L84-L92
   
   ### Modifications
   
   execute `callback` before executing `readerCreatedCallback_`
   
   ### 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