[GitHub] kafka pull request #3426: MINOR: Fix race condition in KafkaConsumer close

2017-06-27 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/3426 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] kafka pull request #3426: MINOR: Fix race condition in KafkaConsumer close

2017-06-23 Thread hachikuji
GitHub user hachikuji opened a pull request: https://github.com/apache/kafka/pull/3426 MINOR: Fix race condition in KafkaConsumer close We intended to make `KafkaConsumer.close()` idempotent, but due to the fact that the `closed` variable is checked without a lock prior to beginning