Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.13.0
-
2022-5-QueryExecution
Description
Repeat steps:
1. Create an aligned timeseries:
create aligned timeseries root.sg.d1(s1 int32);
2. Insert with null value:
insert into root.sg.d1(time, s1) aligned values(1400, null);
3. Select directly WITHOUT restarting the server.
select * from root.sg.d1;
We can see that the select request is stucked and never ends.
My brief debug can see that the query is trapped in an infinite loop at
For a deeper debugging, the Statistics of firstTimeseriesMetadata may be the suspect? I'm not sure whether it's the root cause.