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/07/08 03:24:00 UTC

[jira] [Created] (IOTDB-3781) Reinforce the regionCleaner task's startup logic

Yongzao Dan created IOTDB-3781:
----------------------------------

             Summary: Reinforce the regionCleaner task's startup logic
                 Key: IOTDB-3781
                 URL: https://issues.apache.org/jira/browse/IOTDB-3781
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: Yongzao Dan
            Assignee: Yongzao Dan
             Fix For: 0.14.0


The regionCleaner task in ConfigNode's PartitionManager will start as soon as the PartitionManager is initialized, which is unsafe however. Ever interior ScheduledExecutor should not be started until the current ConfigNode is affirmed it's leadership. And these inner ScheduleExecutor should be shutdown immediatly when the current ConfigNode loses it's leadership.



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