[jira] [Created] (IOTDB-1186) Remove redundant sync meta leader in query process for cluster module

2021-03-08 Thread Xinyu Tan (Jira)
Xinyu Tan created IOTDB-1186:


 Summary: Remove redundant sync meta leader in query process for 
cluster module
 Key: IOTDB-1186
 URL: https://issues.apache.org/jira/browse/IOTDB-1186
 Project: Apache IoTDB
  Issue Type: Improvement
  Components: Core/Cluster
Reporter: Xinyu Tan


Currently, the coordinator will create one remoteSeriesReader for each 
timeseries if the timeseries belongs to other nodes, and the coordinator will 
try to perform a sync meta leader in each remoteSeriesReader's 
initManagedSeriesReader function, which cost a lot of network overhead.

Actually, we can just sync meta leader once for one query.



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


[jira] [Created] (IOTDB-1173) auto-create schema improvement for createMultiTimeSeriesPaln

2021-02-24 Thread Xinyu Tan (Jira)
Xinyu Tan created IOTDB-1173:


 Summary: auto-create schema improvement for 
createMultiTimeSeriesPaln
 Key: IOTDB-1173
 URL: https://issues.apache.org/jira/browse/IOTDB-1173
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Xinyu Tan
 Fix For: master branch


currently,cluster will auto-create storage groups for createMultiTimeSeriesPaln 
if related storage groups hasn't been created. However, if one 
createMultiTimeSeriesPaln have 10 paths which belong to same storage group, 
current auto-create schema logic will perform 10 setStroageGroup opeartions 
in meta Group,which cause a big waste of time for this request.



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


[jira] [Created] (IOTDB-1172) Remove unexpected exception thrown when all CreateTimeseries opeartion are successful for CreateMultiTimeseries

2021-02-21 Thread Xinyu Tan (Jira)
Xinyu Tan created IOTDB-1172:


 Summary: Remove unexpected exception thrown when all 
CreateTimeseries opeartion are successful for CreateMultiTimeseries 
 Key: IOTDB-1172
 URL: https://issues.apache.org/jira/browse/IOTDB-1172
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Xinyu Tan
 Fix For: master branch






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


[jira] [Created] (IOTDB-1121) Session example executeNonQueryStatement parse bug

2021-01-24 Thread Xinyu Tan (Jira)
Xinyu Tan created IOTDB-1121:


 Summary: Session example executeNonQueryStatement parse bug
 Key: IOTDB-1121
 URL: https://issues.apache.org/jira/browse/IOTDB-1121
 Project: Apache IoTDB
  Issue Type: Bug
  Components: Client/Java
Reporter: Xinyu Tan
 Attachments: image-2021-01-25-10-44-05-989.png

currently, sessionExample contains a executeNonQueryStatement method which will 
cause server to report a bug command like this:
 !image-2021-01-25-10-44-05-989.png|thumbnail! 

this is because our currently the server logic of executeNonQueryStatement  can 
execute multiple statement just like "insert into root.sg1.d1(timestamp,s1) 
values(200, 1);insert into root.sg1.d1(timestamp,s1) values(300, 1)", even it 
can not figure `insert into root.sg1.d1(timestamp,s1) values(200, 1);`.So I 
would like to delete this ';' before is can support multiple statement






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


[jira] [Created] (IOTDB-1099) Optimize insertablets logic in cluster module

2021-01-04 Thread Xinyu Tan (Jira)
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)


[jira] [Created] (IOTDB-1092) Support multi-raft for one data group

2020-12-29 Thread Xinyu Tan (Jira)
Xinyu Tan created IOTDB-1092:


 Summary: Support multi-raft for one data group
 Key: IOTDB-1092
 URL: https://issues.apache.org/jira/browse/IOTDB-1092
 Project: Apache IoTDB
  Issue Type: New Feature
Reporter: Xinyu Tan
 Fix For: master branch


here is design doc: 
https://cwiki.apache.org/confluence/display/IOTDB/Multi-Raft-For-One-DataGroup+Design+Doc



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


<    1   2   3