You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2021/02/18 17:53:00 UTC

[jira] [Created] (IOTDB-1161) Incorrect tips when user creates a sg who is a prefix of another sg

Xiangdong Huang created IOTDB-1161:
--------------------------------------

             Summary: 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


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)