You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/06/06 03:51:40 UTC

[GitHub] [iotdb] wangchao316 commented on a diff in pull request #6164: Add an error message for setting TTL when the storagegroup does not exist

wangchao316 commented on code in PR #6164:
URL: https://github.com/apache/iotdb/pull/6164#discussion_r889803583


##########
confignode/src/main/java/org/apache/iotdb/confignode/persistence/ClusterSchemaInfo.java:
##########
@@ -204,6 +204,7 @@ public TSStatus setTTL(SetTTLReq req) {
             .getStorageGroupSchema()
             .setTTL(req.getTTL());
         result.setCode(TSStatusCode.SUCCESS_STATUS.getStatusCode());
+        result.setMessage("StorageGroup does not exist");

Review Comment:
   TSStatusCode.SUCCESS_STATUS
   and 
   result.setMessage("StorageGroup does not exist");
   
   why?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org