guozhangwang opened a new pull request #11367: URL: https://github.com/apache/kafka/pull/11367
Note this is a bit hacky solution to improve the performance of stream-stream join for in-memory shared stores: theoretically deleting while iterating is not a good pattern and hence have undefined behavior. After looking through the source code I think the only reason it works here is because we only delete keys that we have iterated over. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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