You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2019/10/23 08:01:00 UTC

[jira] [Created] (IOTDB-264) Lake checking datatype before writing WAL

Jialin Qiao created IOTDB-264:
---------------------------------

             Summary: Lake checking datatype before writing WAL
                 Key: IOTDB-264
                 URL: https://issues.apache.org/jira/browse/IOTDB-264
             Project: Apache IoTDB
          Issue Type: Bug
    Affects Versions: 0.8.0
            Reporter: Jialin Qiao


When execute an InsertPlan, we first check whether the timeseries exists or not. Then we write the InsertPlan to WAL and insert it to memtable. However, if the data type mismatches the registered schema, WAL will still be written but inserting to memtable will fail. 

 

When restart IoTDB, the WAL cannot be replayed due to NumberFormatException and IoTDB will fail to restart.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)