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

Yongzao Dan commented on IOTDB-5874:
------------------------------------

These two successive time partition from one device use exactly the same 
DataRegionGroup. Because the TimeSlotNum=2 where RegionId=0.

> enable_data_partition_inherit_policy doesn't take effect
> --------------------------------------------------------
>
>                 Key: IOTDB-5874
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5874
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster
>            Reporter: Yuan Tian
>            Assignee: Yongzao Dan
>            Priority: Major
>         Attachments: image-2023-05-15-09-39-00-493.png
>
>
> If we set enable_data_partition_inherit_policy to `true` and we create two 
> successive time partition for one same device, the next time partition 
> doesn't use the previous one's data region.
>  
> ```
> insert into root.ca.condition.`123456789`(time, s1, s2, s3) 
> values(1683763199000,1,2,3);
> insert into root.ca.condition.`123456789`(time, s1, s2, s3) 
> values(1683763260000,1,2,3);
> show regions;
> ```
>  
> !image-2023-05-15-09-39-00-493.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to