Jinrui Zhang created IOTDB-4396:
-----------------------------------

             Summary: Refactor AbstractRetryHandler in ConfigNode
                 Key: IOTDB-4396
                 URL: https://issues.apache.org/jira/browse/IOTDB-4396
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Jinrui Zhang
            Assignee: Gaofei Cao


Current implementation of AbstractRetryHandler is confusing.

 

The aim of it is to simplify the implementation of RETRY when sending request 
to several datanodes. But it doesn't encapsulate the logic inside the abstract 
class but let the implementations to maintain the retry status, which is 
un-safe.

 

Refactor target:
 # Encapsulate the `countDownLatch` inside the abstract class rather than make 
it as a constructor variable
 # Maintain the remove logic of DataNodeLocations insides the class



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

Reply via email to