You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/06/28 03:07:04 UTC
[iotdb] branch master updated: [IOTDB-3548] Fix not enough dataNode error msg (#6476)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new ea437401d0 [IOTDB-3548] Fix not enough dataNode error msg (#6476)
ea437401d0 is described below
commit ea437401d077cb9737452d9284252eccf3e1803e
Author: Marcos_Zyk <38...@users.noreply.github.com>
AuthorDate: Tue Jun 28 11:06:59 2022 +0800
[IOTDB-3548] Fix not enough dataNode error msg (#6476)
---
.../apache/iotdb/db/mpp/plan/analyze/ClusterPartitionFetcher.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/ClusterPartitionFetcher.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/ClusterPartitionFetcher.java
index 63bdcfd0c1..7e9bddec6d 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/ClusterPartitionFetcher.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/ClusterPartitionFetcher.java
@@ -145,6 +145,11 @@ public class ClusterPartitionFetcher implements IPartitionFetcher {
== TSStatusCode.SUCCESS_STATUS.getStatusCode()) {
schemaPartition = parseSchemaPartitionResp(schemaPartitionResp);
partitionCache.updateSchemaPartitionCache(devicePaths, schemaPartition);
+ } else {
+ throw new RuntimeException(
+ new IoTDBException(
+ schemaPartitionResp.getStatus().getMessage(),
+ schemaPartitionResp.getStatus().getCode()));
}
}
return schemaPartition;