aljoscha opened a new pull request #12151: URL: https://github.com/apache/flink/pull/12151
Before, the flag was changed outside the lock, which would allow the case that the flag is set to true while someone else is holding the "close lock". ---------------------------------------------------------------- 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