[ https://issues.apache.org/jira/browse/IOTDB-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liuxuxin reassigned IOTDB-2503: ------------------------------- Assignee: Liuxuxin (was: Jack Tsai) > 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: Liuxuxin > Priority: Minor > Labels: pull-request-available > > 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. This field is to > replace the isClosed, compactionCandidate, Compacting. > > When Compacting, we only select the Unclosed TsFile to compact. -- This message was sent by Atlassian Jira (v8.20.1#820001)