已关闭
[Bug]: 【测试类型:工具功能】【测试版本:7.0.0-RC2】pagehack解析索引结果中,ubtree flag同时显示BTP_INTERNA及BTP_ROOT #7062
李鑫创建于  2025年5月27日关闭于  2025年6月23日
李鑫
李鑫成员
2025年5月27日 创建

测试类型

工具功能

测试版本

7.0.0-RC2

问题描述

pagehack解析索引结果中,ubtree flag同时显示BTP_INTERNA及BTP_ROOT

操作系统和硬件信息

CentOS Linux release 7.6.1810 (Core)
Linux upgrade-test-0001 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

测试环境

企业版主备

被测功能

pageheck

预置条件

操作步骤

drop table if exists t1;
create table t1 (c1 int) with (storage_type=ustore);

create index i1 on t1(c1) with (index_type=pcr);

insert into t1 (c1) select 1 from generate_series(1,382);
insert into t1 (c1) select 2 from generate_series(1,382);
insert into t1 (c1) select 3 from generate_series(1,382);

SELECT oid FROM pg_class WHERE relname = 'i1';

pagehack -f 23319 -t ubtree_pcr_index

预期输出

此处应显示BTP_ROOT

实际输出

pagehack解析索引结果中,ubtree flag同时显示BTP_INTERNA及BTP_ROOT
image.png

日志信息

无

提单组织

内部测试

测试代码

无

likedislike
opengauss_botopengauss_bot成员
2025年5月27日 添加了label:sig/Community
opengauss_bot
opengauss_bot成员
2025年5月27日 评论:

Welcome To openGauss Community

Hey @li-xin12345 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: Community ,
and any of the committers: @ywzq1161327784, @dodders, @muyulinzhong, @congzhou2603, @chenxiaobin19, @libiao2024, @wangfeihuo, @quemingjian, @CarrotGo, @jemappellehc, @superlchf, @chendong76, @totaj, @hwworkholic, @zhangfengzhi123, @shenzheng4 .

likedislike
李鑫李鑫成员
2025年5月27日 将 Vincent__Sun 设为负责人
李鑫李鑫成员
2025年6月3日 修改标题为 “[Bug]: 【测试类型:工具功能】【测试版本:7.0.0-RC2】pagehack解析索引结果中,ubtree flag同时显示BTP_INTERNA及BTP_ROOT”,原标题为“[Bug]: 【测试类型:工具功能】【测试版本:7.0.0-RC2】pageheak解析索引结果中,ubtree flag同时显示BTP_INTERNA及BTP_ROOT”
李鑫李鑫成员
2025年6月3日 修改了issue 的描述
Vincent__Sun
Vincent__Sun成员
2025年6月14日 评论:

执行上述sql,当前只显示BTP_ROOT
image.png
image.png

likedislike
Vincent__SunVincent__Sun成员
2025年6月14日 关联了pull request:修复pagehack解析ubtree rcr和pcr索引问题
Vincent__Sun
Vincent__Sun成员
2025年6月18日 评论:

image.png
image.png
image.png
image.png

likedislike
Vincent__SunVincent__Sun成员
2025年6月18日 issue状态由 待办的 改变为 待回归
李鑫
李鑫成员
2025年6月23日 评论:

验收日期:2025.6.23
验收版本:gsql (openGauss 7.0.0-RC2 build 867df4e0) compiled at 2025-06-23 06:08:28 commit 0 last mr 7911
验收结论:通过
image.png
image.png

likedislike
李鑫李鑫成员
2025年6月23日 issue状态由 待回归 改变为 测试中
李鑫李鑫成员
2025年6月23日 issue状态由 测试中 改变为 已验收
李鑫李鑫成员
2025年6月23日 关闭了 issue