zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tumativ <...@git.apache.org>
Subject [GitHub] zookeeper issue #689: ZOOKEEPER-3183:Notifying the WatcherCleaner thread and...
Date Thu, 08 Nov 2018 19:20:35 GMT
Github user tumativ commented on the issue:

    @asfgit  Thanks for reviewing.
    - I see that there is a gap in API  contract that allowing the dead watcher even cleaner
thread is not running. I hope it is the burden on GC even it is GCed.
    - We can interrupt the cleaner thread, but It is fine if it is waiting for minimum threshold
dead watchers at the time of interrupting. The thread is marked as interrupted if it is not
really waiting and the exception will be thrown any subsequent wait. I think the prediction
is important at least in thread communication.


View raw message