402 Star 1.4K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

【测试类型:故障注入】【测试版本:5.0.1】【可靠性】【概率问题】备机重建过程中ctl+c故障后,1h无返回结果。再次重建失败后,stop集群时,主机无法stop

已验收
缺陷
创建于  
2023-10-18 18:41

【标题描述】: 备机重建过程中ctl+c故障后,1h无返回结果。再次重建失败后,stop集群时,主机无法stop
【测试类型:故障注入】【测试版本:5.0.1】【可靠性】【概率问题】备机重建过程中ctl+c故障后,1h无返回结果。再次重建失败后,stop集群时,主机无法stop

【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
CentOS Linux release 7.6.1908 (Core)

【测试环境】(单机/1主x备x级联备):
一主两备

【被测功能】:
备机重建

【测试类型】:
可靠性测试

【数据库版本】(查询命令: gaussdb -V):
gaussdb (openGauss 5.0.1 build 1afdf2b0) compiled at 2023-10-12 17:49:57 commit 0 last mr

【预置条件】:
数据库状态正常

【操作步骤】(请填写详细的操作步骤):

  1. 重建备1
    gs_ctl build -D /data/relia1166/cluster/dn1 -t 600;
  2. 重建进程进行ctl+c
  3. 再次重建备1
  4. restart集群

【预期输出】:

  1. 重建备1,开始进行重建
  2. 重建进程进行ctl+c,取消成功
  3. 再次重建备1,成功
  4. restart集群,成功

【实际输出】:

  1. 重建备1,开始进行重建
  2. 重建进程进行ctl+c,取消失败,备机1重建1h无返回
  3. 再次重建备1,失败
  4. restart集群,stop主机失败

【原因分析】:
重建过程主机相关线程存在问题,无法退出

【日志信息】(请附上日志文件、截图、coredump信息):
步骤2截图:
输入图片说明
步骤3截图:再次重建失败
输入图片说明
步骤4截图:
输入图片说明

【测试代码】:

评论 (3)

裴琳倩 创建了缺陷
裴琳倩 添加协作者周斌
展开全部操作日志

Hey @裴琳倩, 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 @裴琳倩, 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 .

周斌 修改了备注
chenxiaobin 任务状态待办的 修改为已确认
chenxiaobin 任务状态已确认 修改为修复中
chenxiaobin 任务状态修复中 修改为已完成
chenxiaobin 任务状态已完成 修改为待回归
jiexiao1413 任务状态待回归 修改为测试中

验收日期:2023-12-18
验收版本:gsql (openGauss_finance 5.0.1 build a882b4b1) compiled at 2023-12-07 17:08:58 commit 0 last mr
验收结论:通过(因为是偶现bug,已连跑发现问题的用例100遍未复现)
验收截图:
输入图片说明

裴琳倩 任务状态测试中 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
13084139 opengauss bot 1686829535
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

搜索帮助