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

[jira] [Created] (IOTDB-1502) Syncleader optimization

Houliang Qi created IOTDB-1502:
----------------------------------

             Summary: Syncleader optimization
                 Key: IOTDB-1502
                 URL: https://issues.apache.org/jira/browse/IOTDB-1502
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Cluster
            Reporter: Houliang Qi


At present, there are many operations of *syncLeader*: they are roughly divided into two categories:

1. Need to synchronize metadata such as storage group;

2. Need to synchronize data;

At present, for *syncLeader* operations, the local raft commit index should be consistent with the leader commit index. In fact, it is unnecessary to synchronize metadata. Because this raft log may be a data operation.

Due to the storage group has the concept of version, the metadata synchronization operation can be synchronized by the storage group version[1], avoid unnecessary data synchronization and save time.

[1] https://issues.apache.org/jira/browse/IOTDB-1292



--
This message was sent by Atlassian Jira
(v8.3.4#803005)