Made changes to fix distributed transaction to properly use two phase
commit.