jixuan1989 commented on a change in pull request #2184:
URL: https://github.com/apache/iotdb/pull/2184#discussion_r559895370
##########
File path:
tsfile/src/main/java/org/apache/iotdb/tsfile/write/chunk/ChunkWriterImpl.java
##########
@@ -300,7 +308,19 @@ private void checkPageSizeAndMayOpenANewPage() {
private void writePageToPageBuffer() {
try {
- pageWriter.writePageHeaderAndDataIntoBuff(pageBuffer);
+ int size = pageWriter
Review comment:
if numberOfPages == 0, then write page0;
else if numberOfPages ==1, then rewrite page0 and write page1,
else write page_i.
so we can reduce copy page1 data
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]