ORA-02050: transaction rolled back, some remote DBs may be in-doubt
ORA-02050: transaction rolled back, some remote DBs may be in-doubt Indicates that a communication error occurred during the two-phase commit. The two phase-commit mechanism is used to ensure data integrity in a distributed transaction. Example of handling the In-Doubt Transactions - in this example we are taking two servers ACCT and FIN. Got error ORA-02050: transaction rolled back, some remote DBs may be in-doubt at FIN Server Scenario- LOCAL_TRAN_ID and GLOBAL_TRAN_ID are same. Execute below query in SYS user at FIN server. SQL> SELECT LOCAL_TRAN_ID , STATE FROM dba_2pc_pending ; LOCAL_TRAN_ID GLOBAL_TRAN_ID STATE ------------- --------------- ---------------- 3.12 .2 54 --------. 3.12 . 254 collecting Here local id and Global id is same, so it is the global coordinator. State column is collecting means this ...