This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch rc/1.3.3 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 23a83d99c7204d13db9efb3e90db3d829a32be99 Author: Jiang Tian <[email protected]> AuthorDate: Thu Aug 8 11:52:55 2024 +0800 Report INTERNAL_SERVER_ERROR in executeBatch (#13106) * Report INTERNAL_SERVER_ERROR in executeBatch * Report INTERNAL_SERVER_ERROR in executeBatch (cherry picked from commit 9b15ab68a59fa7028b3b14b88a826accff105e2f) --- .../apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java index e74319c9a7a..5c2b3f1f492 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java @@ -1565,9 +1565,7 @@ public class ClientRPCServiceImpl implements IClientRPCServiceWithHandler { TSStatus status = onQueryException( e, "\"" + statement + "\". " + OperationType.EXECUTE_BATCH_STATEMENT); - if (status.getCode() != TSStatusCode.INTERNAL_SERVER_ERROR.getStatusCode()) { - isAllSuccessful = false; - } + isAllSuccessful = false; results.add(status); } finally { addStatementExecutionLatency(
