4.6.1 Initializing the Recovery Process
After the resource manager registers with the transaction manager (compare Registering with the Transaction Manager as a Resource Manager), it initiates recovery. To perform recovery, the resource manager iterates through its log and locates all in-doubt transactions and requests their outcome by reenlisting in the transaction with the transaction manager.