You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Eric Pai (Jira)" <ji...@apache.org> on 2021/12/14 13:02:00 UTC
[jira] [Commented] (IOTDB-2146) After starting the 3nodes 2 replicas, insert 3 pieces of data into one node, and queried data and number are wrong
[ https://issues.apache.org/jira/browse/IOTDB-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459130#comment-17459130 ]
Eric Pai commented on IOTDB-2146:
---------------------------------
It seems that this commit is the root cause of this bug [https://github.com/apache/iotdb/commit/0b6c690030aca19dc48276082985486f46b629cc]
We may ask [~JackieTien] for help.
Updated: aflter executing FLUSH, everything works fine. Maybe something is wrong in TsFileResource.isSatisfied() ?
> After starting the 3nodes 2 replicas, insert 3 pieces of data into one node, and queried data and number are wrong
> -------------------------------------------------------------------------------------------------------------------
>
> Key: IOTDB-2146
> URL: https://issues.apache.org/jira/browse/IOTDB-2146
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/Cluster
> Affects Versions: 0.12.4
> Reporter: xiaozhihong
> Priority: Major
> Attachments: image-2021-12-14-17-52-46-304.png
>
>
> steps:
> 1. Setup a 3 nodes cluster with 2 replicas
> 2. Enable time partition with partition_interval 2592000
> 3. Insert 3 pieces of data in one node
> insert into root.group_1.d_1(timestamp, s_1) values(2018-07-18T00:00:00.000+08:00, 18.0);
> insert into root.group_1.d_1(timestamp, s_1) values(2018-07-19T00:00:00.000+08:00, 19.0);
> insert into root.group_1.d_1(timestamp, s_1) values(2019-08-19T00:00:00.000+08:00, 20.0);
> 4. Execute query
> select * from root.group_1.d_1;
> !image-2021-12-14-17-52-46-304.png!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)