[jira] [Assigned] (IOTDB-2913) Add InfluxDB Protocol Test

2022-04-13 Thread Haonan Hou (Jira)


 [ 
https://issues.apache.org/jira/browse/IOTDB-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haonan Hou reassigned IOTDB-2913:
-

Assignee: Liu Wei

> Add InfluxDB Protocol Test
> --
>
> Key: IOTDB-2913
> URL: https://issues.apache.org/jira/browse/IOTDB-2913
> Project: Apache IoTDB
>  Issue Type: Task
>Reporter: xieqijun
>Assignee: Liu Wei
>Priority: Major
>
> Currently, because the server turns off InfluxDB server by default, the test 
> of InfluxDB-Protocol module has been skipped. So we need to complete the 
> following work:
>  # build new docker-influxdb image, this image will open InfluxDB server.
>  # don't skip influxdb test in influxdb-protocol.yam by maven command line 
> mode  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (IOTDB-2915) MLogTxtWriter error while parsing CreateAlignedTimeseriesPlan

2022-04-13 Thread Jialin Qiao (Jira)


[ 
https://issues.apache.org/jira/browse/IOTDB-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17522076#comment-17522076
 ] 

Jialin Qiao commented on IOTDB-2915:


https://github.com/apache/iotdb/pull/5525

> MLogTxtWriter error while parsing CreateAlignedTimeseriesPlan
> -
>
> Key: IOTDB-2915
> URL: https://issues.apache.org/jira/browse/IOTDB-2915
> Project: Apache IoTDB
>  Issue Type: Improvement
>Reporter: Yukun Zhou
>Assignee: Yukun Zhou
>Priority: Major
> Fix For: master branch, 0.14.0-SNAPSHOT
>
>
> MLogTxtWriter will serialize wrong plan name and schema while paring  
> CreateAlignedTimeseriesPlan



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2915) MLogTxtWriter error while parsing CreateAlignedTimeseriesPlan

2022-04-13 Thread Yukun Zhou (Jira)
Yukun Zhou created IOTDB-2915:
-

 Summary: MLogTxtWriter error while parsing 
CreateAlignedTimeseriesPlan
 Key: IOTDB-2915
 URL: https://issues.apache.org/jira/browse/IOTDB-2915
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Yukun Zhou
Assignee: Yukun Zhou
 Fix For: master branch, 0.14.0-SNAPSHOT


MLogTxtWriter will serialize wrong plan name and schema while paring  
CreateAlignedTimeseriesPlan



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2914) NPE of MLog force during killing system

2022-04-13 Thread Yukun Zhou (Jira)
Yukun Zhou created IOTDB-2914:
-

 Summary: NPE of MLog force during killing system
 Key: IOTDB-2914
 URL: https://issues.apache.org/jira/browse/IOTDB-2914
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Yukun Zhou
Assignee: Yukun Zhou
 Fix For: master branch, 0.14.0-SNAPSHOT


### Problem

When kill system, the hook will be invoke before killing the mlog force thread 
and the npe was produced when the thread invoke a cleared schemaRegion

### Solution
Shutdown the thread in hook before region clear.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Assigned] (IOTDB-2909) Implement column encoders for BOOLEAN and TEXT

2022-04-13 Thread Zhong Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/IOTDB-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhong Wang reassigned IOTDB-2909:
-

Assignee: Zhong Wang

> Implement column encoders for BOOLEAN and TEXT
> --
>
> Key: IOTDB-2909
> URL: https://issues.apache.org/jira/browse/IOTDB-2909
> Project: Apache IoTDB
>  Issue Type: Improvement
>  Components: mpp-cluster
>Reporter: Zhong Wang
>Assignee: Zhong Wang
>Priority: Major
>  Labels: pull-request-available
>
> Currently, we have encoders for INT32, INT64, FLOAT, and DOUBLE. Encoders for 
> BOOLEAN and TEXT are needed.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (IOTDB-2902) A user granted insert_timeseries permission reports no permission when inserting aligned data

2022-04-13 Thread FengQingxin (Jira)


[ 
https://issues.apache.org/jira/browse/IOTDB-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17522049#comment-17522049
 ] 

FengQingxin commented on IOTDB-2902:


写入权限下还有批写入权限?

创建时间序列权限下还有创建对齐时间序列权限?

!image-2022-04-14-12-12-30-563.png!

> A user granted insert_timeseries permission reports no permission when 
> inserting aligned data
> -
>
> Key: IOTDB-2902
> URL: https://issues.apache.org/jira/browse/IOTDB-2902
> Project: Apache IoTDB
>  Issue Type: Bug
>  Components: Core/Server
>Affects Versions: master branch, 0.13.0
>Reporter: xiaozhihong
>Assignee: Steve Yurong Su
>Priority: Blocker
> Attachments: image-2022-04-13-13-58-07-329.png
>
>
> step 1: start iotdb
> step 2:root enter cli
> {code:java}
> create storage group root.line1;
> create storage group root.line2;
> create timeseries root.line1.wf01.wt01.temperatures with 
> datatype=float,encoding=rle;{code}
> {code:java}
> create user user01 'pass1234'; 
> grant user user01 privileges insert_timeseries on root.line1;{code}
> step 3: user01 enter cli
> {code:java}
> insert into root.line1.wf01.wt01(time,temperatures) aligned 
> values(1,1),(2,1),(3,1); {code}
> Then reported no privileges:
> !image-2022-04-13-13-58-07-329.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Assigned] (IOTDB-2906) [0.14][new_sync] Commit pipe data serial number error, Can not find tsfile

2022-04-13 Thread yanze chen (Jira)


 [ 
https://issues.apache.org/jira/browse/IOTDB-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

yanze chen reassigned IOTDB-2906:
-

Assignee: yanze chen  (was: yusicheng)

> [0.14][new_sync] Commit pipe data serial number error, Can not find tsfile
> --
>
> Key: IOTDB-2906
> URL: https://issues.apache.org/jira/browse/IOTDB-2906
> Project: Apache IoTDB
>  Issue Type: Bug
>Affects Versions: 0.14.0-SNAPSHOT
>Reporter: ZhangZhengming
>Assignee: yanze chen
>Priority: Major
> Attachments: benchmark.log, image-2022-04-13-17-33-46-950.png, 
> node-22.log, node-23.log
>
>
> I use three hosts to test  new sync.
> node21 - benchmark,
> node22 - iotdb, sender,
> node23 - iotdb, receiver
> h1. In node21
> Benchmark config:
> GROUP 5, DEVICE 10, SENSOR 10, CLIENT 5, LOOP=1, BATCH_SIZE 10, type 
> double
> write to node-22 no error found.
>  
> h1. In node22
> sql : CREATE PIPESINK node23 AS IoTDB (ip='172.20.31.23');
> sql : create pipe send_to_23 to node23 FROM  (select ** from root) with 
> SyncDelOp=true;
> no error found.
> h1. In node23
> start pipeserver
> !image-2022-04-13-17-33-46-950.png|width=940,height=412!
> See attachment for log.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2913) Add InfluxDB Protocol Test

2022-04-13 Thread xieqijun (Jira)
xieqijun created IOTDB-2913:
---

 Summary: Add InfluxDB Protocol Test
 Key: IOTDB-2913
 URL: https://issues.apache.org/jira/browse/IOTDB-2913
 Project: Apache IoTDB
  Issue Type: Bug
Reporter: xieqijun


Currently, because the server turns off InfluxDB server by default, the test of 
InfluxDB-Protocol module has been skipped. So we need to complete the following 
work:
 # build new docker-influxdb image, this image will open InfluxDB server.
 # don't skip influxdb test in influxdb-protocol.yam by maven command line mode 
 

 

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2912) Upgrade where clause to support more powerful expressions

2022-04-13 Thread Xi Zhang (Jira)
Xi Zhang created IOTDB-2912:
---

 Summary: Upgrade where clause to support more powerful expressions
 Key: IOTDB-2912
 URL: https://issues.apache.org/jira/browse/IOTDB-2912
 Project: Apache IoTDB
  Issue Type: New Feature
Reporter: Xi Zhang
Assignee: Xi Zhang


Current where clause in select just support simple compare expression and 
simple logic expression. We can upgrade the filter system to support complex 
expression with UDF supported. (Current filter system can just compare 
variables with constants.)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2911) TransformOperator: operator implementation for nested expression evaluation

2022-04-13 Thread Steve Yurong Su (Jira)
Steve Yurong Su created IOTDB-2911:
--

 Summary: TransformOperator: operator implementation for nested 
expression evaluation
 Key: IOTDB-2911
 URL: https://issues.apache.org/jira/browse/IOTDB-2911
 Project: Apache IoTDB
  Issue Type: Task
  Components: Core/Query
Reporter: Steve Yurong Su
Assignee: Steve Yurong Su






--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Assigned] (IOTDB-2908) [0.14][new_sync] Incorrect format in config file, use default configuration

2022-04-13 Thread ZhangZhengming (Jira)


 [ 
https://issues.apache.org/jira/browse/IOTDB-2908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ZhangZhengming reassigned IOTDB-2908:
-

   Sprint: 2022-4-Hou
Affects Version/s: 0.14.0-SNAPSHOT
 Assignee: yusicheng

> [0.14][new_sync] Incorrect format in config file, use default configuration 
> 
>
> Key: IOTDB-2908
> URL: https://issues.apache.org/jira/browse/IOTDB-2908
> Project: Apache IoTDB
>  Issue Type: Bug
>Affects Versions: 0.14.0-SNAPSHOT
>Reporter: ZhangZhengming
>Assignee: yusicheng
>Priority: Major
> Attachments: image-2022-04-13-17-51-22-059.png
>
>
> test commit :
> commit f60c584f4dd34c508b56a29f498584e8729294a5
> Author: yschengzi <87161145+yschen...@users.noreply.github.com>
> Date:   Wed Apr 13 15:17:43 2022 +0800
>  
> !image-2022-04-13-17-51-22-059.png|width=952,height=229!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2910) Count aggregate is not right after delete sg

2022-04-13 Thread Yuan Tian (Jira)
Yuan Tian created IOTDB-2910:


 Summary: Count aggregate is not right after delete sg
 Key: IOTDB-2910
 URL: https://issues.apache.org/jira/browse/IOTDB-2910
 Project: Apache IoTDB
  Issue Type: Task
  Components: Core/Query
Reporter: Yuan Tian
Assignee: Yuan Tian
 Attachments: image-2022-04-13-17-56-36-725.png

You can replay the result like following:

 

we expect the result to be 1, but it is 0.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2909) Implement column encoders for BOOLEAN and TEXT

2022-04-13 Thread Zhong Wang (Jira)
Zhong Wang created IOTDB-2909:
-

 Summary: Implement column encoders for BOOLEAN and TEXT
 Key: IOTDB-2909
 URL: https://issues.apache.org/jira/browse/IOTDB-2909
 Project: Apache IoTDB
  Issue Type: Improvement
  Components: mpp-cluster
Reporter: Zhong Wang






--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Assigned] (IOTDB-2906) [0.14][new_sync] Commit pipe data serial number error, Can not find tsfile

2022-04-13 Thread ZhangZhengming (Jira)


 [ 
https://issues.apache.org/jira/browse/IOTDB-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ZhangZhengming reassigned IOTDB-2906:
-

   Sprint: 2022-4-Hou
Affects Version/s: 0.14.0-SNAPSHOT
 Assignee: yusicheng

> [0.14][new_sync] Commit pipe data serial number error, Can not find tsfile
> --
>
> Key: IOTDB-2906
> URL: https://issues.apache.org/jira/browse/IOTDB-2906
> Project: Apache IoTDB
>  Issue Type: Bug
>Affects Versions: 0.14.0-SNAPSHOT
>Reporter: ZhangZhengming
>Assignee: yusicheng
>Priority: Major
> Attachments: benchmark.log, image-2022-04-13-17-33-46-950.png, 
> node-22.log, node-23.log
>
>
> I use three hosts to test  new sync.
> node21 - benchmark,
> node22 - iotdb, sender,
> node23 - iotdb, receiver
> h1. In node21
> Benchmark config:
> GROUP 5, DEVICE 10, SENSOR 10, CLIENT 5, LOOP=1, BATCH_SIZE 10, type 
> double
> write to node-22 no error found.
>  
> h1. In node22
> sql : CREATE PIPESINK node23 AS IoTDB (ip='172.20.31.23');
> sql : create pipe send_to_23 to node23 FROM  (select ** from root) with 
> SyncDelOp=true;
> no error found.
> h1. In node23
> start pipeserver
> !image-2022-04-13-17-33-46-950.png|width=940,height=412!
> See attachment for log.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2908) [0.14][new_sync] Incorrect format in config file, use default configuration

2022-04-13 Thread ZhangZhengming (Jira)
ZhangZhengming created IOTDB-2908:
-

 Summary: [0.14][new_sync] Incorrect format in config file, use 
default configuration 
 Key: IOTDB-2908
 URL: https://issues.apache.org/jira/browse/IOTDB-2908
 Project: Apache IoTDB
  Issue Type: Bug
Reporter: ZhangZhengming
 Attachments: image-2022-04-13-17-51-22-059.png

test commit :

commit f60c584f4dd34c508b56a29f498584e8729294a5
Author: yschengzi <87161145+yschen...@users.noreply.github.com>
Date:   Wed Apr 13 15:17:43 2022 +0800

 

!image-2022-04-13-17-51-22-059.png|width=952,height=229!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2907) Improve cache management

2022-04-13 Thread Jialin Qiao (Jira)
Jialin Qiao created IOTDB-2907:
--

 Summary: Improve cache management
 Key: IOTDB-2907
 URL: https://issues.apache.org/jira/browse/IOTDB-2907
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Jialin Qiao


Currently, we have TimeseriesMetadataCache, ChunkMetadataCache, ChunkCache, and 
BloomFilterCache. 

These caches usually bind cached entries with specified TsFiles.

When deleting and recreating the storage group, the version of TsFile is 
reused, which may cause a cached entry inconsistent with data on the disk, thus 
causing bugs in the query.

 

A potential solution:

We need to manage all caches in system by an ICache interface containing 
clearWhenDeleteSG(String sgName). When adding a cache, it should implement 
ICache and register in the system. Then, deleting storage group could remove 
all registered Cache.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2906) [0.14][new_sync]

2022-04-13 Thread ZhangZhengming (Jira)
ZhangZhengming created IOTDB-2906:
-

 Summary: [0.14][new_sync] 
 Key: IOTDB-2906
 URL: https://issues.apache.org/jira/browse/IOTDB-2906
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: ZhangZhengming


I test with three hosts,



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2905) IoTDBRecoverUnclosedIT failed in ci

2022-04-13 Thread Jialin Qiao (Jira)
Jialin Qiao created IOTDB-2905:
--

 Summary: IoTDBRecoverUnclosedIT failed in ci
 Key: IOTDB-2905
 URL: https://issues.apache.org/jira/browse/IOTDB-2905
 Project: Apache IoTDB
  Issue Type: Bug
Reporter: Jialin Qiao
Assignee: Haiming Zhu
 Attachments: image-2022-04-13-17-03-32-474.png

IoTDBRecoverUnclosedIT.test:214 expected:<0,[2]499,500.0> but 
was:<0,[1]499,500.0>

 

!image-2022-04-13-17-03-32-474.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2904) [ cross compaction ] Meet errors in cross space compaction,GC overhead limit exceeded

2022-04-13 Thread Jira
刘珍 created IOTDB-2904:
-

 Summary: [ cross compaction ] Meet errors in cross space 
compaction,GC overhead limit exceeded
 Key: IOTDB-2904
 URL: https://issues.apache.org/jira/browse/IOTDB-2904
 Project: Apache IoTDB
  Issue Type: Bug
  Components: Core/Compaction
Affects Versions: 0.13.0-SNAPSHOT
Reporter: 刘珍
Assignee: 周沛辰
 Attachments: config.properties, image-2022-04-13-16-56-25-843.png

rel/0.13 e10325f04e6d631799002dd76d12dd019cf72dc0

问题描述:
对齐序列,读写混合操作,有乱序,Meet errors in cross space compaction,GC overhead limit 
exceeded
非对齐序列,相同配置/测试环境,没这个问题。

1. 机器信息
fit 机器:iotdb 在 192.168.130.1  /data1/rel_13_e10325f0
benchmark在192.168.130.2  /data1/benchmark_v13

benchmark配置见附件
iotdb配置
MAX_HEAP_SIZE="16G"

2. 异常信息
 !image-2022-04-13-16-56-25-843.png! 





--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2903) Fail to get last time value during show timeseries

2022-04-13 Thread Yukun Zhou (Jira)
Yukun Zhou created IOTDB-2903:
-

 Summary: Fail to get last time value during show timeseries
 Key: IOTDB-2903
 URL: https://issues.apache.org/jira/browse/IOTDB-2903
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Yukun Zhou
Assignee: Yukun Zhou
 Fix For: master branch, 0.13.1


!image-2022-04-13-16-08-20-850.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)