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

chaow pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.12 by this push:
     new 409b107  rethrow RTE when fail to insert (#3041)
409b107 is described below

commit 409b107bb94beb02e348b8ece81ef68fc3c116c8
Author: Steve Yurong Su <[email protected]>
AuthorDate: Thu Apr 22 09:14:08 2021 +0800

    rethrow RTE when fail to insert (#3041)
---
 server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java 
b/server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
index fae57b8..9361f5c 100644
--- a/server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
+++ b/server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
@@ -1245,6 +1245,7 @@ public class PlanExecutor implements IPlanExecutor {
       if (IoTDBDescriptor.getInstance().getConfig().isEnableStatMonitor()) {
         StatMonitor.getInstance().updateFailedStatValue();
       }
+      throw e;
     }
   }
 
@@ -1279,6 +1280,7 @@ public class PlanExecutor implements IPlanExecutor {
       if (IoTDBDescriptor.getInstance().getConfig().isEnableStatMonitor()) {
         StatMonitor.getInstance().updateFailedStatValue();
       }
+      throw e;
     }
   }
 

Reply via email to