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)