wangchao316 opened a new pull request #2597:
URL: https://github.com/apache/iotdb/pull/2597
reproduct:
create timeseries root.db_0.tab0.salary with datatype=INT64,encoding=REGULAR
;
insert into root.db_0.tab0(time ,salary)
values(2021-01-25T17:36:01.000+08:00,1200);
insert into root.db_0.tab0(time ,salary)
values(2021-01-25T17:36:02.000+08:00,1100);
insert into root.db_0.tab0(time ,salary)
values(2021-01-25T17:36:03.000+08:00,1000);
insert into root.db_0.tab0(time ,salary)
values(2021-01-25T17:36:04.000+08:00,2200);
flush;
reason:
when create timeseries, set encoding=REGULAR. so data need
RegularDataEncoding in flush. but data is not constant frequency.
when read data, regular data decoding... so this too.
solution:
if a timeseries data encode failed, will do not write data to chunk, and WAL
will delete(filter Dirty data). give a warn in log.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]