You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jinrui Zhang (Jira)" <ji...@apache.org> on 2023/01/03 03:53:00 UTC

[jira] [Assigned] (IOTDB-5156) The backup data is twice the size of the source data

     [ https://issues.apache.org/jira/browse/IOTDB-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jinrui Zhang reassigned IOTDB-5156:
-----------------------------------

    Assignee: Liuxuxin

> The backup data is twice the size of the source data
> ----------------------------------------------------
>
>                 Key: IOTDB-5156
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5156
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: mpp-cluster
>            Reporter: 刘珍
>            Assignee: Liuxuxin
>            Priority: Major
>         Attachments: image-2022-12-08-21-08-54-494.png
>
>
> master 
> 问题描述:
> 备份iotdb的data,大小是源data 的2倍。
> cp -rp m_1207_a0b2c8c_fast2/data  m_1208_7f2218b_fast2/
> 备份出来的数据大小是源data的2倍:
> 源snapshot 中的文件是硬链接,备份snapshot的文件会是普通文件:
>  !image-2022-12-08-21-08-54-494.png! 
> 测试流程
> 1.启动1副本1C1D(sbin/start-standalone.sh)
> config , schema ,data 是ratis ,ratis ,IoT 协议
> 2. 写入数据
> 3. 正常停止datanode(会take snapshot)
> 4. 备份数据



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