已关闭
[Bug]: Ustore备库热读长稳场景下,备库快速出现core #8316
wuchenlong创建于  7月16日关闭于  8月24日
wuchenlong
wuchenlong成员
7月16日 创建

测试类型

压力长稳
存储功能
并发

测试版本

7.0.0LTS

问题描述

现象

Ustore 长稳(主写 + 双备读)启动后,备库 快速出现core

操作系统和硬件信息

openEuler release 22.03 (LTS-SP4) aarch64
Linux 5.10.0-216.0.0.115.oe2203sp4.aarch64
CPU: 96 cores;Mem: 502GiB
节点:20.20.20.139/141/143(事故节点 143)

测试环境

企业版主备

被测功能

Ustore 表存储 + 热备读(Hot Standby)+ 并行 redo / undo recycle;长稳 TPCC(主写+双备读)

预置条件

三节点 Normal;Ustore TPCC 库已造数;hot_standby=on;recovery_max_workers=4;BenchmarkSQL 三路 props 分别连 139/141/143。

操作步骤

环境:企业版三节点 1 主 2 备(20.20.20.139 Primary / 141 Standby / 143 Standby)
版本:openGauss 7.0.0LTS
OS:openEuler 22.03 aarch64,96C / 502GiB

step1. 安装并启动 Ustore 长稳:
  - 造数:runDatabaseBuild_ustore.sh(tableCreates_ustore)
  - 压测:test_ustore.sh 同时拉起三路 jTPCC
      long_props_139.pg → 主库写
      long_props_141.pg → 备库读
      long_props_143.pg → 备库读(jdbc://20.20.20.143:15400/tpcc)
  - 规格:200 仓 / 100 并发 + 背景 SQL(ustore)
  - 相关 GUC 示例:wal_level=hot_standby, hot_standby=on, recovery_max_workers=4

step2. 备库立刻出现失败

预期输出

备库在 Ustore 主写 + 热备读长稳压力下备机不应快速失败

实际输出

备库在 Ustore 主写 + 热备读长稳压力下备机启动后快速core

日志信息

提单组织

测试团队

likedislike
wuchenlongwuchenlong成员
7月16日 添加了label:bug
opengauss_bot
opengauss_bot成员
7月16日 评论:

This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.

likedislike
opengauss_botopengauss_bot成员
7月16日 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
7月16日 添加了label:sig/StorageEngine,sig/AI,sig/CM,sig/CloudNative,sig/SecurityTechnology,sig/SQLEngine
opengauss_bot
opengauss_bot成员
7月16日 评论:

Welcome To openGauss Community

Hey @wuchenlong , 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: StorageEngine, AI, CM, CloudNative, SecurityTechnology, SQLEngine ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @ywzq1161327784 ,
and any of the committers: @Igali, @bihua111, @cailei19, @h_ray, @levy53071, @libiao2024, @lihaixiao, @mrzack, @wangfeihuo, @wuyuechuan, @xiong_xjun, @zhangfengzhi123, @zhangxubo, @zhangzq131, @zjh_hw .

likedislike
wuchenlongwuchenlong成员
7月16日 修改了issue 的描述
此处折叠了14条事件消息 查看更多
wuchenlongwuchenlong成员
8月17日 移除了看板:openGauss 6.0.6 LTS
xudabiao2024
xudabiao2024成员
8月19日 评论:

验证版本:700B019
验证结果:通过
image.png

likedislike
xudabiao2024xudabiao2024成员
8月19日 issue状态由 待办的 改变为 待回归
wuchenlong
wuchenlong成员
8月24日 评论:

【回归版本】openGauss 7.0.0-RC3 build a2d43dcd(7.0.0LTS B019,compiled at 2026-08-19 00:10:18)
【回归日期】20260824
【回归人员】wuchenlong
【回归结论】通过

测试结果

#8316(Ustore 备库热读快速 core)已在长稳环境验证通过,8-19至今未出现问题;
image.png

说明

原场景为长稳机 139/141/143 + 200 仓 TPCC;以长稳验证结论为准。

【回归步骤】

长稳验证(主路径)+ 224 旁证见 run_smoke_8316.sh / result_B019.txt。

likedislike
wuchenlongwuchenlong成员
8月24日 issue状态由 待回归 改变为 已验收
wuchenlongwuchenlong成员
8月24日 关闭了 issue