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

Xiangdong Huang commented on IOTDB-406:
---------------------------------------

[~jt2594838] and [~SilverNarcissus], how about the following case:

1.  a SGP with time partition 1 need to be removed from memory;

2. But the SGP has a merge task and there are mergingModifications...

3. After the replacement, new data belong to that time partition comes... so 
the SPG is created once again, and then new modifications come, and a new 
merging task has to be triggered. (Does the mergeManager support that? and what 
will happen if now we have two mergingModification files)

> Refactor EnvironmentUtils for closing IoTDB timely in Integration Tests
> -----------------------------------------------------------------------
>
>                 Key: IOTDB-406
>                 URL: https://issues.apache.org/jira/browse/IOTDB-406
>             Project: Apache IoTDB
>          Issue Type: Task
>            Reporter: Xiangdong Huang
>            Assignee: Rui Liu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, we usually occurs that in some ITs, the IoTDB daemon is not closed 
> in previous tests.
> Besides, IoTDB daemon is not needed to exposed to IT classes. 
> Therefore, I'd like to refactor the EnvironmentUtils class.
>  



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

Reply via email to