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

   ### Motivation
   
   When the topic is unloaded, may cause the redelivery of messages. the cases 
as below:
   
   - When `individualDeletedMessages` exceeds `maxUnackedRangesToPersist`.
   - When the cursor is closing, there may be other acks that are executing 
asynchronously, causing the cursor to persist not the latest 
`individualDeletedMessages`.
   
   We can add `individualDeletedMessagesSize` to the log to help pinpoint the 
problem.
   
   ### Modifications
   
   - Add `individualDeletedMessagesSize` to log.
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   ### Documentation
   
   - [x] `no-need-doc` 
   (Please explain why)
     


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