Decision Rule for Recovery
If at least one DM aborted - decide to abort.
If at least one DM committed - decide to commit.
Otherwise if at least one DM in Pre-Commit and a quorum of DMs in (Pre-Commit and Wait) - move to Pre-Commit and send �prepare commit�.
Otherwise if there is a quorum of DMs in (Wait and Pre-Abort) move to Pre-Abort and send �prepare abort�.