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

[jira] [Commented] (IOTDB-5135) Sync snapshot fails (also blocks ConfigNode snapshot) when sync file is empty.

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

changxue commented on IOTDB-5135:
---------------------------------

config_node_ratis_snapshot_trigger_threshold=300
start 2C2D cluster, insert 400 records. 
文件夹下无文件:
ls -hl $IOTDB_HOME/data/confignode/consensus/47474747-4747-4747-4747-000000000000/sm

> Sync snapshot fails (also blocks ConfigNode snapshot) when sync file is empty.
> ------------------------------------------------------------------------------
>
>                 Key: IOTDB-5135
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5135
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: Gaofei Cao
>            Assignee: yanze chen
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2022-12-06-22-25-40-429.png
>
>
> Reproduce method:
>  
> Turn down `config_node_ratis_snapshot_trigger_threshold` in iotdb-common.property
>  
> Failure Reason:
> Rename returns false when tmpFile is empty.
> !image-2022-12-06-22-25-40-429.png|width=576,height=334!



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