重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 243|回复: 0
打印 上一主题 下一主题

[Oracle] RECO Process Not Clearing Indoubt Transactions After A Database Switchover

[复制链接]
跳转到指定楼层
楼主
发表于 2025-10-26 18:15:58 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
现象:
The Recover(RECO) process for handling in-doubt distributed transactions does not work  after a database switchover in a database(Involving Standby configuration) which acts as a XA resource and participates in distributed transactions.

The problem is that the entries in the table DBA_2PC_PENDING never get recovered or purged.

The column RETRY_TIME in the table DBA_2PC_PENDING will not be updated as well. It will remain the  same as the timestamp in  the FAIL_TIME column.

In normal cases the database will do a retry of the transactions ,when a distributed transactions fails into DBA_2PC_PENDING.

原因:
This happens in any environment including standalone or multi-tenant databases where a standby database configuration exists.

The problem was identified as Bug 28298401 which has been closed as a duplicate of Bug 34367505.

处理方法:
To resolve this issue,please download and apply patch 34367505 .The patch is backport feasible.

This Bug is fixed in database Version->20.1

可行措施:

As a workaround,One can perform the below actions,

1) Post-Switchover , restart the database which will make the RECO to function normally and clear new in-doubt transactions (if any).

2) Kill the RECO process after switchover. In its next spawn,it will clean new in-doubt transactions (if any).

NOTE : If a patch for your version and platform is not available, please contact Global Customer Services through a Service Request and attach output of opatch lsinventory and uname -a, in order to request a backport

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2026-4-17 22:14 , Processed in 0.225628 second(s), 22 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表