You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/08/17 06:39:20 UTC

[GitHub] [incubator-iotdb] samperson1997 commented on pull request #1624: [IOTDB-836] [To rel/0.10] Fix merging statistics failed when endFile

samperson1997 commented on pull request #1624:
URL: https://github.com/apache/incubator-iotdb/pull/1624#issuecomment-674691204


   > Consider one more scenario: restart and close file.
   > 
   > If the file has flushed an INT32 ChunkMetadata and a FLOAT ChunkMetadata and IoTDB is down when closing the file. When restart, the RestorableTsFileIOWriter will read the two ChunkMetadatas and try to merge them.
   > Therefore, the mods file should be checked when performing recover.
   
   Fixed. I noticed that there is no data type recorded in mod file and the version is not comparable, so that I get the current correct data type from MManager and delete the old wrong one in RestorableTsFileIOWriter.


----------------------------------------------------------------
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:
users@infra.apache.org