jixuan1989 commented on a change in pull request #72: [IOTDB-22] Fix Bug in JIRA
URL: https://github.com/apache/incubator-iotdb/pull/72#discussion_r260762953
 
 

 ##########
 File path: 
tsfile/src/main/java/org/apache/iotdb/tsfile/file/header/PageHeader.java
 ##########
 @@ -60,6 +61,10 @@ public static int calculatePageHeaderSize(TSDataType type) {
     return 3 * Integer.BYTES + 2 * Long.BYTES + 
Statistics.getStatsByType(type).getSerializedSize();
 
 Review comment:
   change this with 
calculatePageHeaderSizeWithoutStatistics()+Statistics.getStatsByType(type).getSerializedSize();

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to