You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "QiangShaowei (Jira)" <ji...@apache.org> on 2022/12/07 06:59:00 UTC

[jira] [Commented] (IOTDB-5043) take snapshot by sql for IoTDB upgrade

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

QiangShaowei commented on IOTDB-5043:
-------------------------------------

解决方案: 在升级重启时,让ConfigNode的执行计划都落盘。

从master回合两个共识相关配置,并修改默认值

# trigger a snapshot when snapshot_trigger_threshold logs are written
# config_node_ratis_snapshot_trigger_threshold = 1

# preserve certain logs when take snapshot and purge
# config_node_ratis_preserve_logs_num_when_purge = 0

 

> take snapshot by sql for IoTDB upgrade
> --------------------------------------
>
>                 Key: IOTDB-5043
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5043
>             Project: Apache IoTDB
>          Issue Type: New Feature
>            Reporter: QiangShaowei
>            Assignee: QiangShaowei
>            Priority: Major
>
> IOTDB 1.0 重构了ConfigPlan相关的枚举类,导致之前装好的环境升到最新版启动不了,因为序列化和反序列化不一致。
> 需要手动触发task snapshot ,生成bin文件,然后提供转换工具,转换成新代码能解析的bin文件



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