[ https://issues.apache.org/jira/browse/IOTDB-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei Shao reassigned IOTDB-624: ------------------------------ Assignee: Wei Shao > 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 > Assignee: Wei Shao > Priority: Major > Labels: pull-request-available > 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)