You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yongzao Dan (Jira)" <ji...@apache.org> on 2022/10/14 03:28:00 UTC

[jira] [Created] (IOTDB-4648) Start leader schedule threads when restart

Yongzao Dan created IOTDB-4648:
----------------------------------

             Summary: Start leader schedule threads when restart
                 Key: IOTDB-4648
                 URL: https://issues.apache.org/jira/browse/IOTDB-4648
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Yongzao Dan
            Assignee: Yongzao Dan
             Fix For: 0.14.0


We've found that in the scenario with only one ConfigNode, the leader schedule threads don't start properly after restart. Because the leadership remains the same after restart. Therefore, the notifyLeaderChanged interface in PartitionStateMachine is not called after a restart, so these leader schedule threads cannot be started.

 

One possible solution is for ConfigNode to restart and check its own leadership and start the leader schedule threads automatically if necessary.



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