You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by er...@apache.org on 2022/04/20 08:47:58 UTC

[iotdb] branch bugfix/iotdb-2965 created (now fa51be3e32)

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

ericpai pushed a change to branch bugfix/iotdb-2965
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at fa51be3e32 [IOTDB-2965] Skip failed mlog and snapshot items when upgrading happens

This branch includes the following new commits:

     new fa51be3e32 [IOTDB-2965] Skip failed mlog and snapshot items when upgrading happens

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: [IOTDB-2965] Skip failed mlog and snapshot items when upgrading happens

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ericpai pushed a commit to branch bugfix/iotdb-2965
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit fa51be3e329771ea2716a4684523bb448729d49d
Author: ericpai <er...@hotmail.com>
AuthorDate: Wed Apr 20 16:47:44 2022 +0800

    [IOTDB-2965] Skip failed mlog and snapshot items when upgrading happens
---
 .../java/org/apache/iotdb/db/metadata/upgrade/MetadataUpgrader.java   | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/metadata/upgrade/MetadataUpgrader.java b/server/src/main/java/org/apache/iotdb/db/metadata/upgrade/MetadataUpgrader.java
index d573353d61..24e00e9806 100644
--- a/server/src/main/java/org/apache/iotdb/db/metadata/upgrade/MetadataUpgrader.java
+++ b/server/src/main/java/org/apache/iotdb/db/metadata/upgrade/MetadataUpgrader.java
@@ -231,8 +231,6 @@ public class MetadataUpgrader {
           }
         } catch (MetadataException e) {
           logger.error("Error occurred during recovering metadata from snapshot", e);
-          e.printStackTrace();
-          throw new IOException(e);
         }
       }
     }
@@ -331,8 +329,6 @@ public class MetadataUpgrader {
           }
         } catch (MetadataException e) {
           logger.error("Error occurred during redo mlog: ", e);
-          e.printStackTrace();
-          throw new IOException(e);
         }
       }
     }