[
https://issues.apache.org/jira/browse/IOTDB-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17437873#comment-17437873
]
Liuxuxin commented on IOTDB-1903:
---------------------------------
https://github.com/apache/iotdb/pull/4312
> The file disk space usage increases abnormally after IoTDB restarts
> -------------------------------------------------------------------
>
> Key: IOTDB-1903
> URL: https://issues.apache.org/jira/browse/IOTDB-1903
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: 0.12.2
> Reporter: Liuxuxin
> Assignee: Liuxuxin
> Priority: Major
> Fix For: 0.12.3
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> # Description
> If the IoTDB is shut down when cross compaction when IoTDB is restarted,
> there will be abnormal redundant data in TsFile, but the abnormal data cannot
> be seen from the client.
> # Cause
> 1. The target file of cross-space compaction is deleted when sgp recover,
> the cross-space compaction recover can never find the target file.
> 2. The MergeLogAnalyzer searches for a log that is never written to the log
> file.
> 3. The resume cross-space compaction process gets the schema from merge
> resources, but the schema list in merge resources is always empty when
> performing recovery.
> 4. The recovery of cross-space compaction uses an InputStream to truncate
> the file, which is forbidden by JVM.
> 5. The ChunkMetadata list in the last chunk group is lost when using a
> RestorableTsFileIOWriter to continue to write on the target file.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)