You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2021/01/14 02:10:00 UTC

[jira] [Created] (HBASE-25505) ZK watcher threads are daemonized; reconsider

Andrew Kyle Purtell created HBASE-25505:
-------------------------------------------

             Summary: ZK watcher threads are daemonized; reconsider
                 Key: HBASE-25505
                 URL: https://issues.apache.org/jira/browse/HBASE-25505
             Project: HBase
          Issue Type: Brainstorming
            Reporter: Andrew Kyle Purtell


On HBASE-25279 there was some discussion and difference of opinion about having ZK watcher pool threads be daemonized. This is not necessarily a problem but should be reconsidered. 

Daemon threads are subject to abrupt termination during JVM shutdown and therefore may be interrupted before state changes are complete or resources are released. 

As long as ZK watchers are properly closed by shutdown logic the pool threads will be terminated in a controlled manner and the JVM will exit. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)