lhotari commented on PR #26012: URL: https://github.com/apache/pulsar/pull/26012#issuecomment-4695469197
> > Root cause is in AbstractDelayedDeliveryTracker.updateTimer(). Because delivery timestamps are trimmed for memory efficiency (up to ~511ms with the default tickTimeMillis=1000), getScheduledMessages() can pop a message slightly before its real deliverAt. > > The changes itself are fine, but I think that this root cause should be addressed. It causes unnecessary re-adding which causes a performance overhead. I'll push changes to this PR to address the root cause about unnecessary re-adding. -- 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]
