Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Database Related
>
Database Service
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
442
Star
1.5K
Fork
1.8K
openGauss
/
openGauss-server
Code
Issues
963
Pull Requests
165
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
【测试类型:SQL功能】【测试版本:7.0.0-RC1】【升级】3.0.6升级至7.0.0-RC1,元数据不一致问题一(pr2119相关)
Accepted
#IBKFS2
Bug
li-xin12345
Opened this issue
2025-02-06 16:25
【标题描述】:3.0.6升级至7.0.0-RC1,元数据不一致问题一(pr2119相关) 【测试类型:SQL功能】【测试版本:7.0.0-RC1】【升级】3.0.6升级至7.0.0-RC1,元数据不一致问题一(pr2119相关) 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): CentOS Linux release 7.6.1810 (Core) Linux kwemhisprc10436 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 【测试环境】(单机/1主x备x级联备): 一主两备 【被测功能】: 升级 【测试类型】: 功能 【数据库版本】(查询命令: gaussdb -V): openGauss 3.0.6 build d5373801) compiled at 2024-12-02 12:01:31 commit 0 last mr openGauss 7.0.0-RC1 build 29a1d791) compiled at 2025-01-22 00:08:25 commit 0 last mr 【预置条件】: 数据库状态正常 【操作步骤】(请填写详细的操作步骤): 1. 3.0.6升级至7.0.0-RC1,执行如下sql,对比直接安装7.0.0-RC1执行如下sql ``` select * from pg_proc where oid = 2330; select * from pg_proc where oid = 9155; select * from pg_proc where oid = 9156; select * from pg_proc where oid = 4543; select * from pg_proc where oid = 4544; select * from pg_proc where oid = 4545; select * from pg_description where objoid = 2330; select * from pg_description where objoid = 9155; select * from pg_description where objoid = 9156; select * from pg_description where objoid = 4543; select * from pg_description where objoid = 4544; select * from pg_description where objoid = 4545; select * from pg_description where objoid = 558; select * from pg_description where objoid = 559; select * from pg_description where objoid = 560; select * from pg_index where indexrelid=3480; select * from pg_description where objoid = 3272; select * from pg_description where objoid = 4078; select * from pg_description where objoid = 4079; select * from pg_description where objoid = 6565; select * from pg_description where objoid = 6564; select * from pg_description where objoid = 6563; select * from pg_description where objoid = 6562; select * from pg_description where objoid = 6561; select * from pg_description where objoid = 6560; select * from pg_description where objoid = 6559; select * from pg_description where objoid = 6558; select * from pg_description where objoid = 6557; select * from pg_description where objoid = 6556; select * from pg_description where objoid = 6555; select * from pg_description where objoid = 6554; select * from pg_description where objoid = 6553; select * from pg_description where objoid = 6479; select * from pg_description where objoid = 6478; select * from pg_description where objoid = 6477; select * from pg_description where objoid = 6476; select * from pg_description where objoid = 6475; select * from pg_description where objoid = 6474; select * from pg_description where objoid = 6473; select * from pg_description where objoid = 6472; select * from pg_description where objoid = 6471; select * from pg_description where objoid = 6470; select * from pg_description where objoid = 6469; select * from pg_description where objoid = 6468; select * from pg_description where objoid = 6467; select * from pg_description where objoid = 6466; select * from pg_description where objoid = 6465; select * from pg_description where objoid = 6464; select * from pg_description where objoid = 6463; select * from pg_description where objoid = 6462; select * from pg_description where objoid = 6458; select * from pg_description where objoid = 6457; select * from pg_description where objoid = 6456; select * from pg_description where objoid = 6455; select * from pg_description where objoid = 6454; select * from pg_description where objoid = 6453; select * from pg_description where objoid = 6452; select * from pg_description where objoid = 6451; select * from pg_description where objoid = 6450; select * from pg_description where objoid = 6449; select * from pg_description where objoid = 6448; select * from pg_description where objoid = 6447; select * from pg_description where objoid = 6446; select * from pg_description where objoid = 6445; select * from pg_description where objoid = 6444; select * from pg_description where objoid = 6443; select * from pg_description where objoid = 6442; select * from pg_description where objoid = 6441; select * from pg_description where objoid = 6440; select * from pg_description where objoid = 6439; select * from pg_description where objoid = 6438; select * from pg_description where objoid = 6437; select * from pg_description where objoid = 6436; select * from pg_description where objoid = 6435; select * from pg_description where objoid = 1539; select * from pg_description where objoid = 1538; select * from pg_description where objoid = 1537; select * from pg_description where objoid = 1026; select * from pg_amop where amopfamily = 1995 and (amoplefttype=3272 or amoprighttype=3272); select * from pg_amop where amopfamily = 1976 and (amoplefttype=3272 or amoprighttype=3272); select * from pg_amop where amopfamily = 6976 and (amoplefttype=3272 or amoprighttype=3272); select * from pg_amop where amopfamily = 1977 and (amoplefttype=3272 or amoprighttype=3272); select * from pg_amop where amopfamily = 8646 and (amoplefttype=3272 or amoprighttype=3272); select oid,* from pg_operator where oprleft = 'anyset'::regtype or oprright = 'anyset'::regtype; select oid, * from pg_proc where proname = 'array_count'; select oid, * from pg_proc where proname = 'gs_repair_urq'; select oid, * from pg_proc where proname = 'gs_verify_undo_meta'; select oid, * from pg_proc where proname = 'gs_verify_undo_record'; select oid, * from pg_proc where proname = 'gs_verify_undo_translot'; select oid, * from pg_proc where proname = 'gs_verify_urq'; select oid, * from pg_proc where oid = 2330; select oid, * from pg_proc where oid = 5721; select oid, * from pg_proc where oid = 5257; select oid, * from pg_proc where oid = 9377; select oid, * from pg_proc where oid = 4772; select oid, * from pg_proc where oid = 9156; select oid, * from pg_proc where oid = 4539; select oid, * from pg_proc where oid = 4540; select oid, * from pg_proc where oid = 4437; select oid, * from pg_proc where oid = 4432; select oid, * from pg_proc where oid = 4433; select oid, * from pg_proc where oid = 4545; select oid, * from pg_proc where oid = 4543; select oid, * from pg_proc where oid = 4544; select oid, * from pg_proc where oid = 9155; select oid, * from pg_proc where oid = 1000; select oid, * from pg_proc where oid = 1001; select oid, * from pg_proc where oid = 1002; select oid, * from pg_proc where oid = 1003; select oid, * from pg_proc where oid = 1005; select oid, * from pg_proc where oid = 5843; select oid, * from pg_proc where oid = 5844; select oid, * from pg_proc where oid = 5845; select oid, * from pg_proc where oid = 5846; select oid, * from pg_proc where oid = 3308; select oid, * from pg_proc where oid = 7429; select * from pg_class where relname = 'pg_set'; select oid, * from pg_type where typname = 'pg_set'; ``` 【预期输出】: 执行结果一致 【实际输出】: 执行结果不一致,如下: **左图为直装,右图为升级后数据库**                               **涉及pr:** https://gitee.com/opengauss/openGauss-server/pulls/2119/ 【原因分析】: 1. 这个问题的根因 2. 问题推断过程 3. 还有哪些原因可能造成类似现象 4. 该问题是否有临时规避措施 5. 问题解决方案 6. 预计修复问题时间 【日志信息】(请附上日志文件、截图、coredump信息): 不涉及 【测试代码】: 不涉及
【标题描述】:3.0.6升级至7.0.0-RC1,元数据不一致问题一(pr2119相关) 【测试类型:SQL功能】【测试版本:7.0.0-RC1】【升级】3.0.6升级至7.0.0-RC1,元数据不一致问题一(pr2119相关) 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): CentOS Linux release 7.6.1810 (Core) Linux kwemhisprc10436 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 【测试环境】(单机/1主x备x级联备): 一主两备 【被测功能】: 升级 【测试类型】: 功能 【数据库版本】(查询命令: gaussdb -V): openGauss 3.0.6 build d5373801) compiled at 2024-12-02 12:01:31 commit 0 last mr openGauss 7.0.0-RC1 build 29a1d791) compiled at 2025-01-22 00:08:25 commit 0 last mr 【预置条件】: 数据库状态正常 【操作步骤】(请填写详细的操作步骤): 1. 3.0.6升级至7.0.0-RC1,执行如下sql,对比直接安装7.0.0-RC1执行如下sql ``` select * from pg_proc where oid = 2330; select * from pg_proc where oid = 9155; select * from pg_proc where oid = 9156; select * from pg_proc where oid = 4543; select * from pg_proc where oid = 4544; select * from pg_proc where oid = 4545; select * from pg_description where objoid = 2330; select * from pg_description where objoid = 9155; select * from pg_description where objoid = 9156; select * from pg_description where objoid = 4543; select * from pg_description where objoid = 4544; select * from pg_description where objoid = 4545; select * from pg_description where objoid = 558; select * from pg_description where objoid = 559; select * from pg_description where objoid = 560; select * from pg_index where indexrelid=3480; select * from pg_description where objoid = 3272; select * from pg_description where objoid = 4078; select * from pg_description where objoid = 4079; select * from pg_description where objoid = 6565; select * from pg_description where objoid = 6564; select * from pg_description where objoid = 6563; select * from pg_description where objoid = 6562; select * from pg_description where objoid = 6561; select * from pg_description where objoid = 6560; select * from pg_description where objoid = 6559; select * from pg_description where objoid = 6558; select * from pg_description where objoid = 6557; select * from pg_description where objoid = 6556; select * from pg_description where objoid = 6555; select * from pg_description where objoid = 6554; select * from pg_description where objoid = 6553; select * from pg_description where objoid = 6479; select * from pg_description where objoid = 6478; select * from pg_description where objoid = 6477; select * from pg_description where objoid = 6476; select * from pg_description where objoid = 6475; select * from pg_description where objoid = 6474; select * from pg_description where objoid = 6473; select * from pg_description where objoid = 6472; select * from pg_description where objoid = 6471; select * from pg_description where objoid = 6470; select * from pg_description where objoid = 6469; select * from pg_description where objoid = 6468; select * from pg_description where objoid = 6467; select * from pg_description where objoid = 6466; select * from pg_description where objoid = 6465; select * from pg_description where objoid = 6464; select * from pg_description where objoid = 6463; select * from pg_description where objoid = 6462; select * from pg_description where objoid = 6458; select * from pg_description where objoid = 6457; select * from pg_description where objoid = 6456; select * from pg_description where objoid = 6455; select * from pg_description where objoid = 6454; select * from pg_description where objoid = 6453; select * from pg_description where objoid = 6452; select * from pg_description where objoid = 6451; select * from pg_description where objoid = 6450; select * from pg_description where objoid = 6449; select * from pg_description where objoid = 6448; select * from pg_description where objoid = 6447; select * from pg_description where objoid = 6446; select * from pg_description where objoid = 6445; select * from pg_description where objoid = 6444; select * from pg_description where objoid = 6443; select * from pg_description where objoid = 6442; select * from pg_description where objoid = 6441; select * from pg_description where objoid = 6440; select * from pg_description where objoid = 6439; select * from pg_description where objoid = 6438; select * from pg_description where objoid = 6437; select * from pg_description where objoid = 6436; select * from pg_description where objoid = 6435; select * from pg_description where objoid = 1539; select * from pg_description where objoid = 1538; select * from pg_description where objoid = 1537; select * from pg_description where objoid = 1026; select * from pg_amop where amopfamily = 1995 and (amoplefttype=3272 or amoprighttype=3272); select * from pg_amop where amopfamily = 1976 and (amoplefttype=3272 or amoprighttype=3272); select * from pg_amop where amopfamily = 6976 and (amoplefttype=3272 or amoprighttype=3272); select * from pg_amop where amopfamily = 1977 and (amoplefttype=3272 or amoprighttype=3272); select * from pg_amop where amopfamily = 8646 and (amoplefttype=3272 or amoprighttype=3272); select oid,* from pg_operator where oprleft = 'anyset'::regtype or oprright = 'anyset'::regtype; select oid, * from pg_proc where proname = 'array_count'; select oid, * from pg_proc where proname = 'gs_repair_urq'; select oid, * from pg_proc where proname = 'gs_verify_undo_meta'; select oid, * from pg_proc where proname = 'gs_verify_undo_record'; select oid, * from pg_proc where proname = 'gs_verify_undo_translot'; select oid, * from pg_proc where proname = 'gs_verify_urq'; select oid, * from pg_proc where oid = 2330; select oid, * from pg_proc where oid = 5721; select oid, * from pg_proc where oid = 5257; select oid, * from pg_proc where oid = 9377; select oid, * from pg_proc where oid = 4772; select oid, * from pg_proc where oid = 9156; select oid, * from pg_proc where oid = 4539; select oid, * from pg_proc where oid = 4540; select oid, * from pg_proc where oid = 4437; select oid, * from pg_proc where oid = 4432; select oid, * from pg_proc where oid = 4433; select oid, * from pg_proc where oid = 4545; select oid, * from pg_proc where oid = 4543; select oid, * from pg_proc where oid = 4544; select oid, * from pg_proc where oid = 9155; select oid, * from pg_proc where oid = 1000; select oid, * from pg_proc where oid = 1001; select oid, * from pg_proc where oid = 1002; select oid, * from pg_proc where oid = 1003; select oid, * from pg_proc where oid = 1005; select oid, * from pg_proc where oid = 5843; select oid, * from pg_proc where oid = 5844; select oid, * from pg_proc where oid = 5845; select oid, * from pg_proc where oid = 5846; select oid, * from pg_proc where oid = 3308; select oid, * from pg_proc where oid = 7429; select * from pg_class where relname = 'pg_set'; select oid, * from pg_type where typname = 'pg_set'; ``` 【预期输出】: 执行结果一致 【实际输出】: 执行结果不一致,如下: **左图为直装,右图为升级后数据库**                               **涉及pr:** https://gitee.com/opengauss/openGauss-server/pulls/2119/ 【原因分析】: 1. 这个问题的根因 2. 问题推断过程 3. 还有哪些原因可能造成类似现象 4. 该问题是否有临时规避措施 5. 问题解决方案 6. 预计修复问题时间 【日志信息】(请附上日志文件、截图、coredump信息): 不涉及 【测试代码】: 不涉及
Comments (
8
)
Sign in
to comment
Status
Accepted
Backlog
Confirmed
已答复
Canceled
挂起
Fixing
Done
待回归
测试中
Accepted
Assignees
Not set
maxiang
Xiao__Ma
Assignee
Collaborator
+Assign
+Mention
杨皓
yanghaos
Assignee
Collaborator
+Assign
+Mention
Labels
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (17)
Tags (29)
master
6.0.0
master_bak08271930
5.0.0
bugfix_0725
3.0.0
7.0.0-RC1
iud_dev
dev_board
5.1.0
kms
2.0.0
3.1.0
2.1.0
1.1.0
1.0.1
1.0.0
v6.0.2
v7.0.0-RC1
v6.0.1
v3.0.6
v6.0.0
v3.0.5B009
v5.0.3
v5.0.2
v6.0.0-RC1
v3.0.5
v5.0.1
v5.1.0
5.1.0
v5.0.0
v3.0.3
v3.1.1
v3.0.2
v3.1.0
v2.0.5
v3.0.1
v2.0.4
v2.0.3
v3.0.0
v2.1.0
v2.0.1
v2.0.0
v1.1.0
v1.0.1
v1.0.0
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register