399 Star 1.3K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

【测试类型:工具功能】【测试版本:2.0.0】 数据库pgxc_node_name存在‘-’字符时,数据库异常退出,存在残留临时表未清理干净时,无法自动清理和vacuum

已验收
缺陷
创建于  
2021-08-24 17:10

【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
CentOS Linux release 7.6.1810 (Core)
【测试环境】(单机/1主x备x级联备):
单机
【被测功能】:
clean statement thread
【测试类型】:
可靠性测试
【数据库版本】(查询命令: gaussdb –V):
gaussdb (openGauss 2.0.0 build 121f1c25) compiled at 2021-08-23 20:04:35 commit 0 last mr
【预置条件】:
pgxc_node_name = 'dn-6001'
【操作步骤】(请填写详细的操作步骤):

  1. 创建临时表
    CREATE TEMPORARY TABLE "temp-table"(id int);
    2、查询pg_namespace
    select * from pg_namespace;
    3、kill 数据库
    4、重启数据库
    5、进行vacuum
    6、查看pg自动清理线程日志
    【预期输出】:
  2. 创建临时表成功
    2、查询pg_namespace,存在临时schema,包含‘-’
    3、kill 数据库成功
    4、重启数据库成功
    5、进行vacuum成功
    6、查看pg自动清理线程日志,清理成功
    【实际输出】:
  3. 创建临时表成功
    2、查询pg_namespace,存在临时schema,包含‘-’
    3、kill 数据库成功
    4、重启数据库成功
    5、进行vacuum失败
    6、查看pg自动清理线程日志,清理失败

【原因分析】:

  1. 进行后台清理时,删除schema需要添加""

【日志信息】(请附上日志文件、截图、coredump信息):
enter image description here
后台报错截图:
enter image description here
【测试代码】:

评论 (1)

裴琳倩 创建了缺陷
裴琳倩 关联仓库设置为openGauss/openGauss-server
裴琳倩 负责人设置为胡正超
裴琳倩 优先级设置为次要
展开全部操作日志

Hey @solinin, 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 https://gitee.com/opengauss/community/blob/master/contributors/command.en.md to find the details.

zhangxubo 添加了
 
sig/sqlengine
标签
胡正超 任务状态待办的 修改为修复中
胡正超 任务状态修复中 修改为已完成
裴琳倩 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助