[ https://issues.apache.org/jira/browse/IOTDB-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17656484#comment-17656484 ]
Liuxuxin commented on IOTDB-5156: --------------------------------- This is more of a file system issue, and it's hard to fix from within IoTDB. > 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 > > Original Estimate: 24h > Remaining Estimate: 24h > > 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)