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

Song Ziyang commented on IOTDB-5057:
------------------------------------

It is due to Raft Log. Raft Log will be deleted when a snapshot is taken. By 
default, 400,000 operations will trigger a snapshot and delete Raft Log and 
free disk space. We need to compare the Ratis disk usage AFTER snapshot. 

> [Ratis]Data file size is too big than the other protocol
> --------------------------------------------------------
>
>                 Key: IOTDB-5057
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5057
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: FengQingxin
>            Assignee: Song Ziyang
>            Priority: Major
>         Attachments: common, image-2022-11-26-22-03-55-352.png
>
>
> Please refer to below picture:
> # 1. org.apache.iotdb.consensus.simple.SimpleConsensus
> # 2. org.apache.iotdb.consensus.ratis.RatisConsensus
> # 3. org.apache.iotdb.consensus.iot.IoTConsensus
> ABC means protocal class for ConfigNode/SchemaRegion/DataRegion
> 222 means  Ratis:Retis:Ratis
> !image-2022-11-26-22-03-55-352.png!
> Reproduce Steps:
> 1.start 1C1D with different protocol class
> 2.using a same config to write data
> Why  ratis has a very big size?
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to