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)

Reply via email to