You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "武思兴 (Jira)" <ji...@apache.org> on 2022/06/14 09:49:00 UTC
[jira] [Assigned] (IOTDB-3280) [cluster]Can not set ttl to all sg in cli with one sql
[ https://issues.apache.org/jira/browse/IOTDB-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
武思兴 reassigned IOTDB-3280:
--------------------------
Assignee: 武思兴
> [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
> Assignee: 武思兴
> Priority: Minor
> 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)