【标题描述】: 执行hash索引相关用例后,备机重启异常,产生core
【测试类型:SQL功能】【测试版本:5.0.1】 执行hash索引相关用例后,备机重启异常,产生core
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
openEuler release 22.03 LTS
【测试环境】(单机/1主x备x级联备):
一主两备
【被测功能】:
hash索引
【测试类型】:
功能测试
【数据库版本】(查询命令: gaussdb -V):
gaussdb (openGauss 5.0.1 build d855a18f) compiled at 2023-11-28 19:42:55 commit 0 last mr
【预置条件】:
数据库功能正常
【操作步骤】(请填写详细的操作步骤):
【预期输出】:
【实际输出】:
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
#0 BBOX_CreateCoredump (file_name=file_name@entry=0x0) at bbox_create.cpp:404
#1 0x0000557b1f63cf09 in bbox_handler (sig=<optimized out>, si=<optimized out>, uc=<optimized out>) at gs_bbox.cpp:112
#2 <signal handler called>
#3 pg_atomic_read_u64 (ptr=0x8) at ../../../../src/include/utils/atomic.h:293
#4 MarkBufferDirty (buffer=159680) at bufmgr.cpp:3258
#5 0x0000557b1fe4d35f in hash_xlog_squeeze_page (record=0x7fa207098d90) at hash_xlog.cpp:434
#6 0x0000557b1fe4d69f in hash_redo (record=0x7fa207098d90) at hash_xlog.cpp:831
#7 0x0000557b1fdc6a05 in ApplyRedoRecord (record=record@entry=0x7fa207098d90) at multi_redo_api.cpp:403
#8 0x0000557b1fd77117 in parallel_recovery::ApplySinglePageRecord (item=0x7fa207098d50, replayUndo=<optimized out>) at page_redo.cpp:565
#9 0x0000557b1fd78824 in parallel_recovery::ApplyAndFreeRedoItem (item=0x7fa207098d50) at page_redo.cpp:500
#10 parallel_recovery::ApplyProcHead (head=0x0, head@entry=0x7fa207098d50) at page_redo.cpp:417
#11 0x0000557b1fd79010 in parallel_recovery::ApplyRedoLoop () at page_redo.cpp:440
#12 parallel_recovery::PageRedoWorkerMain () at page_redo.cpp:328
#13 0x0000557b1fdc6316 in MultiRedoMain () at multi_redo_api.cpp:222
#14 0x0000557b1f958750 in GaussDbAuxiliaryThreadMain<(knl_thread_role)22> (arg=arg@entry=0x7fa248c33388) at postmaster.cpp:13351
#15 0x0000557b1f958a5b in GaussDbThreadMain<(knl_thread_role)22> (arg=0x7fa248c33388) at postmaster.cpp:13716
#16 0x0000557b1f92bcc5 in InternalThreadFunc (args=<optimized out>) at postmaster.cpp:14298
#17 0x00007fa2c4bce32a in ?? () from /usr/lib64/libc.so.6
#18 0x00007fa2c4c50370 in ?? () from /usr/lib64/libc.so.6
【测试代码】:
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Hi @裴琳倩, please use the command /sig xxx to add a SIG label to this issue.
For example: /sig sqlengine or /sig storageengine or /sig om or /sig ai and so on.
You can find more SIG labels from Here.
If you have no idea about that, please contact with @xiangxinyong , @zhangxubo .
验收日期:2023-12-15
验收版本:gaussdb (openGauss 5.0.1 build a882b4b1) compiled at 2023-12-07 11:55:05 commit 0 last mr
验收结论:通过
验收截图:之前HASH索引用例会执行失败,现在执行成功
登录 后才可以发表评论