You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yuan Tian (Jira)" <ji...@apache.org> on 2021/10/27 01:10:00 UTC

[jira] [Assigned] (IOTDB-1609) Print the actual size of plan when it exceeds the wal_buffer_size

     [ https://issues.apache.org/jira/browse/IOTDB-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuan Tian reassigned IOTDB-1609:
--------------------------------

    Assignee: yanze chen  (was: crz)

> Print the actual size of plan when it exceeds the wal_buffer_size
> -----------------------------------------------------------------
>
>                 Key: IOTDB-1609
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1609
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Core/Engine
>            Reporter: Jialin Qiao
>            Assignee: yanze chen
>            Priority: Major
>              Labels: easy-fix
>         Attachments: image-2021-09-02-19-14-55-569.png
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> When a plan can not fit into the wal buffer, we throw an exception. However, users do not know how to set the wal_buffer_size.
>  
> client: 
> !image-2021-09-02-19-14-55-569.png!
>  
> server:
> {code:java}
> Caused by: java.io.IOException: Log cannot fit into the buffer, please increase wal_buffer_sizeCaused by: java.io.IOException: Log cannot fit into the buffer, please increase wal_buffer_size at org.apache.iotdb.db.writelog.node.ExclusiveWriteLogNode.write(ExclusiveWriteLogNode.java:116) at org.apache.iotdb.db.engine.storagegroup.TsFileProcessor.insert(TsFileProcessor.java:197) ... 16 common frames omitted
> Caused by: java.nio.BufferOverflowException: null at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:363) at java.nio.ByteBuffer.put(ByteBuffer.java:859) at org.apache.iotdb.tsfile.utils.ReadWriteIOUtils.write(ReadWriteIOUtils.java:232) at org.apache.iotdb.db.qp.physical.crud.InsertRowPlan.putValues(InsertRowPlan.java:391) at org.apache.iotdb.db.qp.physical.crud.InsertRowPlan.serializeMeasurementsAndValues(InsertRowPlan.java:461) at org.apache.iotdb.db.qp.physical.crud.InsertRowPlan.subSerialize(InsertRowPlan.java:447) at org.apache.iotdb.db.qp.physical.crud.InsertRowPlan.serialize(InsertRowPlan.java:441) at org.apache.iotdb.db.writelog.node.ExclusiveWriteLogNode.putLog(ExclusiveWriteLogNode.java:130) at org.apache.iotdb.db.writelog.node.ExclusiveWriteLogNode.write(ExclusiveWriteLogNode.java:111) ... 17 common frames omitted{code}
>  



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