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 2019/04/02 01:08:23 UTC
[GitHub] [incubator-iotdb] liukun4515 commented on a change in pull request
#122: Warm log for Overflow Exception
liukun4515 commented on a change in pull request #122: Warm log for Overflow Exception
URL: https://github.com/apache/incubator-iotdb/pull/122#discussion_r271103365
##########
File path: iotdb/src/main/java/org/apache/iotdb/db/engine/overflow/io/OverflowResource.java
##########
@@ -98,8 +99,9 @@ public OverflowResource(String parentPath, String dataPath, VersionController ve
// the tail is at least the len of magic string
insertIO = new OverflowIO(readWriter);
readMetadata();
+ } catch (FileNotFoundException e){
+ LOGGER.debug("Failed to construct the OverflowIO.", e);
Review comment:
Opening the `insert overflow file` may throw the `FileNotFoundException`.
The error cased by the deletion of the file will be handled by the following `ioexception`
@jixuan1989
----------------------------------------------------------------
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
With regards,
Apache Git Services