【标题描述】:开启按需回放,触发failover,在cm_ctl query查询到备升主成功后重启集群,一直卡在starting状态
【测试类型:SQL功能/存储功能/接口功能/工具功能/性能/并发/压力长稳/故障注入/安全/资料/编码规范】【测试版本:2.0.0】 问题描述
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
openEuler release 20.03 (LTS)
Linux sharedstore002 4.19.90-2003.4.0.0036.oe1.x86_64 #1 SMP Mon Mar 23 19:10:41 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
【测试环境】(单机/1主x备x级联备):
一主两备资源池化环境
【被测功能】:
failover按需回放
【测试类型】:
按需回放
【数据库版本】(查询命令: gaussdb -V):
gaussdb (openGauss 5.1.0 build a74b7333) compiled at 2023-06-19 09:40:28 commit 0 last mr
【预置条件】:
replication_type=1
recovery_parse_workers=4
recovery_redo_workers=4
hot_standby=off
ss_enable_ondemand_recovery=true
ss_ondemand_recovery_mem_size=25GB
【操作步骤】(请填写详细的操作步骤):
【预期输出】:
集群启动成功
【实际输出】:
集群状态一直为starting状态
【原因分析】:
备机任处于按需回放状态,这个时候拉起原主会出现如下状况:
1、原主等备机恢复
2、备机等原主拉起才恢复
这样就进入了死循环
【日志信息】(请附上日志文件、截图、coredump信息):
原主日志:
【测试代码】:
Hey @zhaobingyu, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss_bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Hi @zhaobingyu, please use the command /sig xxx to add a SIG label to this issue.
For example: /sig sqlengine or /sig storageengine or /sig om or /sig ai and so on.
You can find more SIG labels from Here.
If you have no idea about that, please contact with @xiangxinyong , @zhangxubo .
验证版本:
gaussdb (openGauss 5.1.0 build eb703b1a) compiled at 2023-08-18 11:01:50 commit 0 last mr
备机在redo阶段,启动集群,验证结果:
原主没有被拉起,备机全部启动成功,符合预期
登录 后才可以发表评论