[ 
https://issues.apache.org/jira/browse/IOTDB-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yongzao Dan reassigned IOTDB-4396:
----------------------------------

    Assignee: Yongzao Dan  (was: Gaofei Cao)

> 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: Yongzao Dan
>            Priority: Major
>
> 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