FengQingxin created IOTDB-3280:
----------------------------------
Summary: [cluster]Can not set ttl to all sg in cli with one sql
Key: IOTDB-3280
URL: https://issues.apache.org/jira/browse/IOTDB-3280
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Cluster
Affects Versions: 0.14.0-SNAPSHOT
Reporter: FengQingxin
Attachments: image-2022-05-24-21-39-41-138.png
Reproduce steps:
1.set up a cluster with 3C3D
2. using iotdb-cli to create some sg;
3. using cli to “set ttl on root 3600” or “set ttl on root.** 3600” .
Got an ereor like below:
IoTDB> set ttl to root.** 3600000
Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "set ttl to root.**
3600000". executeStatement failed. error code: TSStatus(code:500, message:322:
null)
IoTDB> set ttl to root 3600000
Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "set ttl to root
3600000". executeStatement failed. error code: TSStatus(code:500, message:322:
Error StorageGroupName)
!image-2022-05-24-21-39-41-138.png!
expect: Can we using these sql to set ttl to all sg?
if we try to set ttl to an nonexistent sg "set ttl to root.sk 389" , we got a
same error too.
IoTDB> set ttl to root.sk 389
Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "set ttl to root.sk
389". executeStatement failed. error code: TSStatus(code:500, message:322: null)
IoTDB>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)