liangyepianzhou commented on issue #15073:
URL: https://github.com/apache/pulsar/issues/15073#issuecomment-1094987103

   `thisLastConfirmEntry` is a variable, it means the last confirm entry. It 
may be a little out of sync with the real LAC, but semantically the same. So I 
name it `thisLastConfirmEntry`.
   >upperLimitOfMaxAckPositionChangeTimes = metadataPositions.size * 500
   
   when maxAckPosition change times reaches 
`upperLimitOfMaxAckPositionChangeTimes`, will store` (maxAckPosition, 
thisLastConfirmEntry)` into `metadataPositions(pendingAckLogReverseIndex)`.
   So it is almost impossible to have indexes that are too close.


-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to