测试社区版单机集群的部署方式,测试了双数据节点,创建了一个分区表并写入了一些数据,现在想把其中一个数据节点转为计算节点,如果直接改 cluster.nodes 配置文件,重启集群的话,会报错: No available replica for the chunk on the controller..
需要用moveReplicas把该数据节点上的所有分区副本迁移至其他数据节点上。详细步骤请参考《数据迁移与平衡》的第4.3节节点缩容(https://gitee.com/dolphindb/Tutorials_CN/blob/master/data_move_rebalance.md#43-%E8%8A%82%E7%82%B9%E7%BC%A9%E5%AE%B9)