【标题描述】: 网络复制双集群,首备节点执行switchover -n指定节点升主超时失败,待升首备节点core
【测试类型:功能测试】【测试版本:6.0.0】【资源池化】网络复制双集群,首备节点执行switchover -n指定节点升主超时失败,待升首备节点core
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): ARM+openEuler
【测试环境】(单机/1主x备x级联备): 一主两备
【被测功能】: 备集群switchover
【测试类型】: 功能测试
【数据库版本】(查询命令: gaussdb -V):
【预置条件】: 网络复制双集群
【操作步骤】(请填写详细的操作步骤):
【预期输出】: switchover操作执行成功,从备节点升为首备,原首备节点降为从备,备集群状态正常,流复制关系正常
【实际输出】: switchover操作超时失败,待升首备节点core
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
相关日志保存至如下路径:
xlog保存至如下路径:
【测试代码】: 不涉及
Hey @haomeng, 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 @haomeng,
if you want to get quick review about your issue, please contact the owner in first: @yz ,
and then any of the maintainers: @zjxqxf , @wangwei5
and then any of the committers: @peibaoyi , @zhulixia , @yangwei , @dengyong , @wanghuanzhuo , @黄堰蛟 , @cchen676 , @陈栋 , @yz , @胡习林
if you have any question, please contact the SIG: CM.
incre_ckpt_aio_callback中的校验有问题,异步io提交之后,等待完成,最后callback读上来与aio的buffer对比,实际发现,该偏移已经又被priwte过,该校验不合理
./dss_20240429164118835.dlog.gz:UTC+8 2024-04-29 16:31:22.680|DSS|1481401|INFO>dss pwrite file 4.2, handle:21, offset:895926272, size:8192 [dss_api_impl.c:1780]
./dss_20240429164118835.dlog.gz:UTC+8 2024-04-29 16:31:22.821|DSS|994632|INFO>Begin get file fd in aio, filename:4.2, handle:21, offset:895926272 [dss_api_impl.c:2658]
./dss_20240429164118835.dlog.gz:UTC+8 2024-04-29 16:31:22.827|DSS|1481401|INFO>dss pwrite file 4.2, handle:21, offset:895926272, size:8192 [dss_api_impl.c:1780]
./dss_20240429164118835.dlog.gz:UTC+8 2024-04-29 16:31:22.842|DSS|994632|INFO>dss pread file entry, name:4.2, handle:21, offset:895926272, size:8192 [dss_api_impl.c:1823]
./dss_20240429164118835.dlog.gz:UTC+8 2024-04-29 16:33:02.807|DSS|1593896|INFO>dss pwrite file 4.2, handle:12, offset:895926272, size:8192 [dss_api_impl.c:1780]
./dss_20240429164118835.dlog.gz:UTC+8 2024-04-29 16:33:03.750|DSS|1593897|INFO>Begin get file fd in aio, filename:4.2, handle:12, offset:895926272 [dss_api_impl.c:2658]
登录 后才可以发表评论