25 Star 26 Fork 195

openGauss / Plugin

 / 详情

dolphin插件下B兼容数据库创建分区表,用gs_dump导出失败

已完成
缺陷
创建于  
2023-03-27 15:44

【标题描述】:
【测试类型:SQL功能/存储功能/接口功能/工具功能/性能/并发/压力长稳/故障注入/安全/资料/编码规范】【测试版本:master】 问题描述

dolphin插件下B兼容数据库创建分区表,用gs_dump导出失败

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

Linux ecs-6ac8 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

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

【被测功能】:
分区表、gs_dump

【测试类型】:
用例手动执行

【数据库版本】(查询命令: gaussdb -V):
gaussdb (openGauss 5.0.0 build f7cb31e4) compiled at 2023-03-23 14:53:24 commit 0 last mr debug

【预置条件】:
安装了dolphin插件的B兼容数据库

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

  1. 创建b兼容数据库并进入
    create database t dbcompatibility 'B';
    \c t
  2. 创建list分区表

CREATE TABLE table_list_partition (col1 int, col2 int)
PARTITION BY list(col1)
(
PARTITION p1 VALUES (2000),
PARTITION p2 VALUES (3000),
PARTITION p3 VALUES (4000),
PARTITION p4 VALUES (5000)
);
3. 使用gs_dump导出数据库
gs_dump t -p 16500 -f ./partition.sql

【预期输出】:
导出成功

【实际输出】:
导出失败,报错:
输入图片说明

【原因分析】:

  1. 这个问题的根因
  2. 问题推断过程
  3. 还有哪些原因可能造成类似现象
  4. 该问题是否有临时规避措施
  5. 问题解决方案
  6. 预计修复问题时间

【日志信息】(请附上日志文件、截图、coredump信息):

【测试代码】:

评论 (3)

zhangzhixian 创建了缺陷

Hey @zhangzhixian, 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.

opengauss-bot 添加了
 
sig/plugin
标签

Hi @zhangzhixian,
if you want to get quick review about your issue, please contact the owner in first: @黄凯耀 ,
and then any of the maintainers: @黄凯耀 , @CodeRejector
and then any of the committers: @husan1024 , @siven_dev , @xiuqiangwang , @zhaosiqi , @chenxiaobin , @pengjiong , @吴岳川 , @熊小军 , @wumingyuan , @jeremytim
if you have any question, please contact the SIG: Plugin.

zhangzhixian 负责人设置为zhangzhixian
zhangzhixian 任务状态待办的 修改为已确认
zhangzhixian 任务状态已确认 修改为修复中
zhangzhixian 任务状态修复中 修改为已完成

5.0.1版本回归通过:
输入图片说明

登录 后才可以发表评论

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

搜索帮助