Hi~
I'm working on this issue. I will fix the size of the buffer and test it in
session batch insert part.
------------------ ???????? ------------------
??????: "Yuan Tian (Jira)"<[email protected]>;
????????: 2019??9??19??(??????) ????9:27
??????: "dev"<[email protected]>;
????: [jira] [Created] (IOTDB-224) Batch write buffer size is notcorrectly
allocated
Kaifeng Xue created IOTDB-224:
---------------------------------
Summary: Batch write buffer size is not correctly allocated
Key: IOTDB-224
URL: https://issues.apache.org/jira/browse/IOTDB-224
Project: Apache IoTDB
Issue Type: Bug
Reporter: Kaifeng Xue
In RowBatch line 174, we are allocating buffer size for text datatype. But we
fail to consider we need to put the length of the text firstly and then put the
text itself. The bugging code as following:
```
case TEXT:
for (Binary value: (Binary[]) values[i]) {
valueOccupation += value.getLength();
}
break;
```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)