今晚做重启维护,发现节点二上报错如下
Fri Feb 23 21:47:43 2024
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_reco_58540.trc:
ORA-02062: distributed recovery received DBID 9ad10df5, expected 38cc1cd5
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_reco_58540.trc:
ORA-02062: distributed recovery received DBID 9ad10df5, expected 38cc1cd5
Fri Feb 23 21:50:34 2024
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_reco_58540.trc:
ORA-02062: distributed recovery received DBID 9ad10df5, expected 38cc1cd5
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_reco_58540.trc:
ORA-02062: distributed recovery received DBID 9ad10df5, expected 38cc1cd5
处理过程
SYS@orcl2> select local_tran_id,state from dba_2pc_pending;
LOCAL_TRAN_ID STATE
-------------------------------------------- --------------------------------
22.28.3283723 collecting
9.21.4520256 collecting
SYS@orcl2> EXECUTE DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('22.28.3283723');
PL/SQL procedure successfully completed.
SYS@orcl2> commit;
Commit complete.
SYS@orcl2> EXECUTE DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('9.21.4520256');
PL/SQL procedure successfully completed.
SYS@orcl2> commit;
Commit complete.
SYS@orcl2> select local_tran_id,state from dba_2pc_pending;
no rows selected
SYS@orcl2>
mos文档:ORA-02062: DISTRIBUTED RECOVERY RECEIVED DBID 01010101, EXPECTED DB21020 Using DG4DRDA (Doc ID 1077215.1)