Yongzao Dan created IOTDB-3720:
----------------------------------
Summary: Unify retry logic of AsyncClientPool in ConfigNode
Key: IOTDB-3720
URL: https://issues.apache.org/jira/browse/IOTDB-3720
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Yongzao Dan
Assignee: Yongzao Dan
Fix For: 0.14.0
Currently, none of ConfigNode's AsyncClientPool interfaces have retry logic
except for createRegions. The createRegions interface uses CountDownLatch and
BitSet to construct the retry logic. Although this algorithm can fulfill the
requirements, it is difficult to reuse and causes the code inside the interface
to be too long. We need a uniform way to elegantly retry RPC requests in
AsyncClientPool.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)