Xinyu Tan created IOTDB-5564:
--------------------------------
Summary: Modify the consensus layer to service read requests after
the restart recovery is complete
Key: IOTDB-5564
URL: https://issues.apache.org/jira/browse/IOTDB-5564
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Xinyu Tan
Assignee: Xinyu Tan
The underlying metadata engine and storage engine can serve read requests only
after the recovery is complete during the restart. However, the restart and
recovery of the Ratis are asynchronous. Therefore, if a region uses the ratis
consensus algorithm, read requests may be served before the recovery is
complete during the restart, resulting in incomplete status being returned.
We need to ensure that the logs of ratis are all recovered before serving read
requests
--
This message was sent by Atlassian Jira
(v8.20.10#820010)