You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/05/27 01:42:38 UTC

[incubator-iotdb] branch master updated: fix recover (#1271)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new b4ed539  fix recover (#1271)
b4ed539 is described below

commit b4ed539c3d06553e0bcf0e3ae41c1fa92f264fa3
Author: Jialin Qiao <qj...@mails.tsinghua.edu.cn>
AuthorDate: Wed May 27 09:42:26 2020 +0800

    fix recover (#1271)
---
 .../main/java/org/apache/iotdb/db/writelog/io/SingleFileLogReader.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/writelog/io/SingleFileLogReader.java b/server/src/main/java/org/apache/iotdb/db/writelog/io/SingleFileLogReader.java
index e398413..d504cbc 100644
--- a/server/src/main/java/org/apache/iotdb/db/writelog/io/SingleFileLogReader.java
+++ b/server/src/main/java/org/apache/iotdb/db/writelog/io/SingleFileLogReader.java
@@ -90,7 +90,7 @@ public class SingleFileLogReader implements ILogReader {
 
       batchLogReader = new BatchLogReader(ByteBuffer.wrap(buffer));
       fileCorrupted = fileCorrupted || batchLogReader.isFileCorrupted();
-    } catch (IOException e) {
+    } catch (Exception e) {
       logger.error("Cannot read more PhysicalPlans from {} because", filepath, e);
       fileCorrupted = true;
       return false;