You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yuan Tian (Jira)" <ji...@apache.org> on 2022/06/01 06:23:00 UTC

[jira] [Assigned] (IOTDB-3364) Query stucked with null valued aligned timeseries

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

Yuan Tian reassigned IOTDB-3364:
--------------------------------

    Assignee: Yuan Tian

> Query stucked with null valued aligned timeseries
> -------------------------------------------------
>
>                 Key: IOTDB-3364
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3364
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Engine, Core/Query
>            Reporter: Eric Pai
>            Assignee: Yuan Tian
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: master branch
>
>         Attachments: image-2022-06-01-11-00-54-775.png, image-2022-06-01-11-03-19-109.png
>
>
> Repeat steps:
> 1. Create an aligned timeseries:
> {code:java}
> create aligned timeseries root.sg.d1(s1 int32); {code}
> 2. Insert with null value:
> {code:java}
> insert into root.sg.d1(time, s1) aligned values(1400, null); {code}
> 3. Select directly WITHOUT restarting the server.
> {code:java}
> select * from root.sg.d1; {code}
> We can see that the select request is stucked and never ends.
> !image-2022-06-01-11-03-19-109.png!
> My brief debug can see that the query is trapped in an infinite loop at
> [https://github.com/apache/iotdb/blob/master/server/src/main/java/org/apache/iotdb/db/query/reader/series/SeriesReader.java#L339-L341]
> For a deeper debugging, the Statistics of firstTimeseriesMetadata may be the suspect? I'm not sure whether it's the root cause.
> !image-2022-06-01-11-00-54-775.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)