Xinyu Tan created IOTDB-5312:
--------------------------------

             Summary: Consolidate ClientManagers in Datanodes for unified 
management
                 Key: IOTDB-5312
                 URL: https://issues.apache.org/jira/browse/IOTDB-5312
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: Xinyu Tan
            Assignee: Xinyu Tan


The ClientManager of Datanodes is divided into different modules. On the one 
hand, thrift client reuse rate is not high. On the other hand, under the 
current thriftServer thread model of BIO, thread explosion may occur. The PR 
will mainly consolidate ClientManagers in Datanodes and do some necessary 
reconstruction

* Consolidate ClientManagers in Datanodes for unified management
* Move some clientFactory from DataNodeClientPoolFactory to ClientPoolFactory
* Add thrift related parameters to CommonConfig so that they can be retrieved 
by ClientPoolFactory
* By introducing ThriftClientFactory, the BaseClientFactory is not bound to 
thrift, so that the RatisClientFactory does not depend on thrift related 
parameters in the future
* Enhance clientManager's handling of null, adding necessary judgments and 
removing unwanted ones
* Adds invalidation logic for exceptions that occur when an asynchronous client 
fails




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to