Xinyu Tan created IOTDB-1099:
--------------------------------
Summary: Optimize insertablets logic in cluster module
Key: IOTDB-1099
URL: https://issues.apache.org/jira/browse/IOTDB-1099
Project: Apache IoTDB
Issue Type: Improvement
Components: Core/Cluster
Reporter: Xinyu Tan
Currently, cluster module will process insertablets rpc by spliting it to
multiple insertablet statements one by one, and each of them will take up a
raft log, which need to complete the RaftLogManager's lock and be replicated
to followers in one raft log.
In some user cases, a inserttablets will have 160 tablets, so this single
client insertablets rpc will take up 160 raft log containing insertabletPlan to
replicate, which maybe optimized to one raft log containing insertablets if
these devices all belong to same data group;
Therefore, we can process insertablets by grouping them to several
insertablets according to these belonged data groups, just like the
createMultiTimeSeriesPlan in current implementation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)