apoorvmittal10 opened a new pull request, #20041: URL: https://github.com/apache/kafka/pull/20041
In the stress testing it was noticed that on acquisition lock timeout, some offsets were not found in the cache. The cache can be tried to be updated in different acknowledgement calls hence if there is an ongoing transition which is not yet finished but another parallel acknowledgement triggers the cache update then the cache can be updated incorrectly, while first transition is not yet finished. Though the cache update happens for Archived and Acknowldeged records hence this issue or existing implementation should not hamper the queues functionality. But it might update the cache early when persister call might fail or this issue triggers error logs with offset not found in cache when acquisition lock timeouts (in some scenarios). -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org