[ 
https://issues.apache.org/jira/browse/IOTDB-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347321#comment-17347321
 ] 

Haonan Hou commented on IOTDB-1161:
-----------------------------------

Related with https://github.com/apache/iotdb/issues/3214

> Incorrect tips when user creates a sg who is a prefix of another sg 
> --------------------------------------------------------------------
>
>                 Key: IOTDB-1161
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1161
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.11.1
>            Reporter: Xiangdong Huang
>            Priority: Major
>
> The case is common. 
> E.g., 
> 1. The user did not modify the settings in iotdb-engines.properties: 
> default_storage_group_level=1
> 2. The user creates a SG manually: 
> set storage group to root.test.sg1;
>  
> 3. (Option 1) The user writes a record without setting the SG:
> insert into root.test.sg2.d1 (time, s1) values (now(), 1);
> (Option 2) The user creates another SG:
> set storage group to root.test;
>  
> Both Option 1 and 2 will throw an exception as expected according to our 
> definition.
> However, when option 1 happens, the tips is "root.test has already been set 
> to storage group", which confuses EVERYONE.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to