lhotari opened a new pull request #10405:
URL: https://github.com/apache/pulsar/pull/10405


   ### Motivation
   
   When reviewing the state management of some recycled instances, I came 
across an issue in Pulsar Java Client. OpSendMsg instances are recycled without 
clearing the state in a few fields. It is unclear what the impact of this 
inconsistency is.
   
   ### Modifications
   
   - clear the `retryCount`, `batchSizeByte` and `numMessagesInBatch` fields in 
the `recycle` method.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to