You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xinyu Tan (Jira)" <ji...@apache.org> on 2023/02/21 02:50:00 UTC

[jira] [Created] (IOTDB-5564) Modify the consensus layer to service read requests after the restart recovery is complete

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)