You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2020/12/16 09:07:00 UTC
[jira] [Created] (IOTDB-1062) Add a registerManager to manage all
ThreadPools in the cluster module
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)