【标题描述】:
【测试类型:工具功能】【测试版本:3.0.0】存在行存压缩表时,备机重建指定参数-b full,重建后行存压缩表数据丢失
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
openEuler release 20.03 (LTS)
Linux openGauss171 4.19.90-2003.4.0.0036.oe1.aarch64 #1 SMP Mon Mar 23 19:06:43 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
【测试环境】(单机/1主x备x级联备):1主1备
【被测功能】:行存压缩
【测试类型】:工具功能
【数据库版本】(查询命令: gaussdb –V):gaussdb (openGauss 2.1.0 build 1e157104) compiled at 2022-02-10 20:03:10 commit 0 last mr
【预置条件】:数据库一主一备环境正常运行
【操作步骤】(请填写详细的操作步骤):
1、设置同步参数
gs_guc set -N all -I all -c "synchronous_commit=on"
gs_guc set -N all -I all -c "most_available_sync = on"
gs_om -t stop && gs_om -t start
2、主机创建行存压缩表
drop table if exists t_rowcompress_0017 cascade;
create table t_rowcompress_0017(cid int, name varchar2) with (compresstype=1);
3、主机使用JMEter工具并行进行增删改操作,备机stop,主机继续插入完成
4、备机进行重建
gs_ctl build -b full
5、检查主备数据一致性
select checksum(t_rowcompress_0017::text) from t_rowcompress_0017;
6、检查主备行存压缩表压缩率一致性
【预期输出】:
1、成功
2、成功
3、成功
4、成功
5、主备数据一致
6、主备压缩率一致
【实际输出】:
5、主备行存压缩表数据不一致,大小不符,数据丢失
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
【测试代码】:
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
0316评审:降级次要,测试继续尝试复现。
相关影响: build数据异常,可以通过全量build解决,实际上不会阻塞任何业务。
2个月未复现,问题单建议关闭,测试添加相应自动化用例,持续看护
登录 后才可以发表评论