已关闭
[Bug]: 跑tpcc有概率出现buffer LRU 链表元数据不一致 #325
jiangyannan创建于  8月10日关闭于  20 天前
jiangyannan
jiangyannan成员
8月10日 创建

测试类型

存储功能

测试版本

7.0.0LTS

问题描述

dcs环境,跑tpcc发生core,buffer LRU 链表元数据不一致

操作系统和硬件信息

cat /etc/os-release
NAME="openEuler"
VERSION="20.03 (LTS-SP1)"
ID="openEuler"
VERSION_ID="20.03"
PRETTY_NAME="openEuler 20.03 (LTS-SP1)"
ANSI_COLOR="0;31"

测试环境

oGRAC双节点

被测功能

预置条件

操作步骤

导380仓跑tpcc

预期输出

实际输出

发生core

日志信息

image.png
core堆栈:
image.png
信息:
set capacity = 28728
set hwm = 28728
scan_list.count = 65536
scan_list.old_count = 65536
scan_list.lru_old != NULL

scan_list 从 lru_first 走 218 个节点后回到 lru_first,存在环
clean_list meta_count=9,但从 clean_list.lru_first 正向走了 209 个节点,且这些节点 list_id 都不是 CLEAN

page 1-35800 是 scan_list.lru_first
page 1-27568 是 scan_list.lru_old
page 1-27568 的 in_old=0,但作为 lru_old 正常应为 in_old=1

提单组织

内部开发

测试代码

likedislike
jiangyannanjiangyannan成员
8月10日 添加了label:bug
jiangyannanjiangyannan成员
8月10日 关联了看板:openGauss 7.0.0-LTS
opengauss_botopengauss_bot成员
8月10日 添加了label:sig/StorageEngine
opengauss_bot
opengauss_bot成员
8月10日 评论:

Welcome To openGauss Community

Hey @jyn88 , 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 ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @CityYard, @libiao2024, @lijieac, @theothersideofsea, @wang_bowen, @weithu, @xiong_xjun, @yuanyazhi, @zhangzq131 .

likedislike
hcshcs成员
8月14日 关联了pull request:Refactor bison ALTER SYSTEM parameter verification
hcshcs成员
8月14日 删除了关联的pull request:Refactor bison ALTER SYSTEM parameter verification
hcshcs成员
8月14日 关联了pull request:Refactor bison ALTER SYSTEM parameter verification
hcshcs成员
8月14日 删除了关联的pull request:Refactor bison ALTER SYSTEM parameter verification
hcshcs成员
8月14日 关联了pull request:Refactor bison ALTER SYSTEM parameter verification
hcshcs成员
8月14日 删除了关联的pull request:Refactor bison ALTER SYSTEM parameter verification
jiangyannan
jiangyannan成员
8月19日 评论:

b018 2003环境长稳七天连跑通过:
image.png

likedislike
jiangyannanjiangyannan成员
8月19日 issue状态由 待办的 改变为 待回归
jiangyan
jiangyan成员
20 天前 评论:

oGRAC B020版本长稳至今无异常
fbf3198b7badd3a79197d6a5976e7276.png

likedislike
jiangyanjiangyan成员
20 天前 issue状态由 待回归 改变为 已验收
jiangyanjiangyan成员
20 天前 关闭了 issue