已关闭
[Bug]: 【RTO流水线】rbp开启下,偶现拉页后校验出现页面缺失,导致无法加速 #322
刘凯创建于  8月8日关闭于  26 天前
刘凯
刘凯成员
8月8日 创建

测试类型

工具功能

测试版本

7.0.0-RC3

问题描述

rbp开启下,偶现拉页后校验出现页面缺失,导致无法加速

操作系统和硬件信息

NAME="openEuler"
VERSION="20.03 (LTS-SP3)"
ID="openEuler"
VERSION_ID="20.03"
PRETTY_NAME="openEuler 20.03 (LTS-SP3)"
ANSI_COLOR="0;31"

测试环境

oGRAC双节点

被测功能

RBP加速

预置条件

详情可参考https://docs.opengauss.org/zh/docs/latest/ograc/database_reference/rbp_accelerated_recovery_reference.html

操作步骤

  1. 配置rbp
  2. tpcc预热
  3. tpcc 50w tpmc测试
  4. kill节点0

预期输出

rto < 10s

实际输出

rto = 21s

日志信息

UTC+08:00 2026-08-08 12:56:46.087|REPLICATION|00000|3106853|INFO>[RBP] DTC read workers completed; wait recovery owner for final verify and READ_END: worker_active_ms=2067 [knl_rbp.c:4493]
UTC+08:00 2026-08-08 12:56:46.087|REPLICATION|00000|491360|INFO>[RBP] DTC recovery owner finishes read phase: wait_workers_us=1606440 reason=finish [knl_rbp.c:7264]
UTC+08:00 2026-08-08 12:56:46.215|REPLICATION|00000|491360|WARN>[RBP] partial verify miss sample[0]: page 11-6531339 node=0 expect_lsn=630864390 expect_lfn=1269499 enter_upper_lsn=630864390 best_lsn=630864390 best_source_node=0 seen_bitmap=0x1 local_lsn=619021492 overflow=0 touch0=0:80790-80790 touch1=0:82373-82373 touch2=0:82387-82387 touch3=0:82730-82730 [knl_rbp.c:2146]
UTC+08:00 2026-08-08 12:56:46.226|REPLICATION|00000|491360|INFO>[RBP] partial verify summary: skipped_lfn_total=24695 items=688260 miss=1 scanned=688295 [knl_rbp.c:2153]
UTC+08:00 2026-08-08 12:56:46.226|REPLICATION|00000|491360|WARN>[RBP] DTC RBP fallback required: node=4294967295 result=2 reason=3 [knl_rbp.c:830]
UTC+08:00 2026-08-08 12:56:46.226|REPLICATION|00000|491360|ERROR>[RBP] partial verify failed, fallback to redo: miss_cnt=1 in_window=688260 scanned=688295 skipped_lfn_total=24695 [knl_rbp.c:2159]
UTC+08:00 2026-08-08 12:56:46.244|REPLICATION|00000|491360|INFO>[RBP] rbp temp connections are closed [knl_rbp.c:5654]
UTC+08:00 2026-08-08 12:56:46.244|REPLICATION|00000|491360|INFO>[RBP] read anomaly summary: selected_page_read_mismatch=12774 pull_miss_trace=4418 partial_ahead_detail=0 ahead_detail=0 partial_disk_fallback=0 multi_disk_fallback=0 sample_limit=5 [knl_rbp.c:921]
UTC+08:00 2026-08-08 12:56:46.244|REPLICATION|00000|491360|INFO>[RBP] read phase summary: pages=660036 errors=0 worker_active_ms=2067 owner_gap_ms=0 skipped_lfn_total=0 lock_us=59 verify_us=138979 verify_pages=1 read_end_notify_us=224 cleanup_us=17532 total_us=2224773 reason=finish [knl_rbp.c:7228]
UTC+08:00 2026-08-08 12:56:46.244|CLUSTER|00000|491360|WARN>[DTC RCY][RBP][partial] fallback to ordinary redo: reason=RBP application failed used=0 saved_max_lrp_valid=1 saved_max_lrp_lsn=18446744073709551615 current_max_lrp_lsn=2199023255552 [dtc_recovery.c:9349]
@@@ 

提单组织

内部开发

测试代码

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

Welcome To openGauss Community

Hey @Miyano , 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
刘凯刘凯成员
8月25日 issue状态由 待办的 改变为 已完成
刘凯
刘凯成员
8月26日 评论:

B020自验:
rbp可以实现加速,日看护流水线正常
image.png

likedislike
刘凯刘凯成员
8月26日 issue状态由 已完成 改变为 待回归
jiangyan
jiangyan成员
26 天前 评论:

近7次流失线正常,内核RTO均在10s内,RBP加速成功

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