5 突然断电后加载分区表提示 Cannot find any re plica information about this partition FileBlock[/klinemin/domain]

attachments-2023-02-jqBriK0Q63f5d879a7e4a.pngCannot find any re plica information about this partition FileBlock[/klinemin/domain]

请先 登录 后评论

2 个回答

peter

请问是什么操作系统,什么版本


select * from rpc(getControllerAlias(), getClusterChunksStatus)

看下里面是否有该表的domain文件信息

请先 登录 后评论
wfHuang

可以按如下步骤排查:

select * from rpc(getControllerAlias(), getClusterChunksStatus) where file like '%domain%'

attachments-2023-05-Kb0yCzr36465cc6031d7b.png

根据查询结果,查找对应节点的domain文件是否存在:

一、domain文件出现丢失

1. 集群模式

可以从另外一个节点拷贝domain文件至对应目录

2. 单节点模式

用另一个dolphindb实例创建该库,并复制此domain文件至对应路径


二、domain文件存在

1. replicaCount 不满足副本数(单节点模式是1,集群是2)

有可能是节点还在初始化

请先 登录 后评论