Xiangdong Huang created IOTDB-1062:
--------------------------------------
Summary: Add a registerManager to manage all ThreadPools in the
cluster module
Key: IOTDB-1062
URL: https://issues.apache.org/jira/browse/IOTDB-1062
Project: Apache IoTDB
Issue Type: Task
Components: Cluster
Reporter: Xiangdong Huang
There are many thread pools in the cluster module.
And, it is not easy to guarantee all thread pools are shutdown when the server
wants to exit.
Therefore, a registerManager is needed, and all long-time-live thread pools
should register on the manager when they are created.
So, when the server exists, it can call shutdown() for all unclosed thread
pools.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)