You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jack Tsai (Jira)" <ji...@apache.org> on 2022/02/08 15:49:00 UTC

[jira] [Commented] (IOTDB-2503) Import a Status for TsFileResource

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

Jack Tsai commented on IOTDB-2503:
----------------------------------

Hey [~qiaojialin], may I know when do these four states appear, respectively? Especially for the Unclosed and closed.

For TsFileResource, Compacting and CompactionCandidate usually come up with isCompacting and isCandidate, but I'm not sure when UnClosed and Closed would exist.

> Import a Status for TsFileResource
> ----------------------------------
>
>                 Key: IOTDB-2503
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2503
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: Jialin Qiao
>            Assignee: Jack Tsai
>            Priority: Minor
>
> Currently, we have isCompacting and isCandidate in TsFileResource for the compaction process.
>  
> It's better to add a status field in TsFileResource. This Status contains 4 types: Compacting, CompactionCandidate, Unclosed, Closed.
>  
> When Compacting, we only select the Unclosed TsFile to compact.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)