albertogpz commented on pull request #6478: URL: https://github.com/apache/geode/pull/6478#issuecomment-867470106
The original solution for GEODE-8971 is reverted so this PR is not needed anymore given that it added the case for which a fix is provided in this PR. Also, the solution proposed in this PR was not valid. Making peekAhead() synchronized would not fix the possible issue because what was required was that remove() was synchronized and that already was so. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org