You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Wei Shao (Jira)" <ji...@apache.org> on 2020/04/27 14:28:00 UTC

[jira] [Created] (IOTDB-624) Session insertTablet() fails in updating Last cache if WAL is disabled

Wei Shao created IOTDB-624:
------------------------------

             Summary: Session insertTablet() fails in updating Last cache if WAL is disabled
                 Key: IOTDB-624
                 URL: https://issues.apache.org/jira/browse/IOTDB-624
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Engine
            Reporter: Wei Shao
             Fix For: 0.10.0-SNAPSHOT


When testing Session insert tablet interfaces, it will raise ArrayIndexOutOfBoundsException in Last cache update if the WAL is disabled.

This could be reproduced with following code:

```
 Session session = new Session();
 session.open();

IoTDBDescriptor.getInstance().getConfig().setEnableWal(false);
 Tablet tablet = new Tablet();
 //init tablet
 ...

session.insertTablet(tablet);
 session.close();
 ```

 



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