You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ch...@apache.org on 2022/06/06 13:44:03 UTC
[iotdb] branch master updated: Add an error message for setting TTL when the storagegroup does not exist (#6164)
This is an automated email from the ASF dual-hosted git repository.
chaow 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 67cdb1737e Add an error message for setting TTL when the storagegroup does not exist (#6164)
67cdb1737e is described below
commit 67cdb1737e69cfce01fbdb518075b004f52b0d3b
Author: 任宇华 <79...@users.noreply.github.com>
AuthorDate: Mon Jun 6 21:43:56 2022 +0800
Add an error message for setting TTL when the storagegroup does not exist (#6164)
Co-authored-by: renyuhua <ry...@163.com>
---
.../java/org/apache/iotdb/confignode/persistence/ClusterSchemaInfo.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ClusterSchemaInfo.java b/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ClusterSchemaInfo.java
index 9043d202f1..26b25e05ab 100644
--- a/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ClusterSchemaInfo.java
+++ b/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ClusterSchemaInfo.java
@@ -223,6 +223,7 @@ public class ClusterSchemaInfo implements SnapshotProcessor {
result.setCode(TSStatusCode.SUCCESS_STATUS.getStatusCode());
} else {
result.setCode(TSStatusCode.STORAGE_GROUP_NOT_EXIST.getStatusCode());
+ result.setMessage("StorageGroup does not exist");
}
} catch (MetadataException e) {
LOGGER.error("Error StorageGroup name", e);