Jialin Qiao created IOTDB-2503:
----------------------------------

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


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)

Reply via email to