发生版本
【GaussDB(DWS)】【C80SPC808】
问题描述
添加主机在初始化服务和实例失败,看扩容节点的gs_local日志报错:
role 16664 does not exist
HINT: please use “pgxc_wlm_rebuild_user_respool” to rebuild info

问题分析
扩容添加节点阶段,新dn实例以restore mode启动同步元数据,CREATE USER时没有刷新user hash,ALTER TABLE OWNER TO会从user hash中搜索该用户,user hash中没有该用户信息而发生报错:Error: role 16664 does not exist。
解决方案
升级到C80SPC810版本/6.5.1.8版本/8.0版本之后再进行扩容。
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/316531.html