1. A method comprising: sending, by a processing device executing a transaction manager, prepare messages to a plurality of participants of a two-phase commit distributed transaction; and responsive to receiving commit responses from each of the plurality of participants, performing the following comprising: committing the two-phase commit distributed transaction; and ending the two-phase commit distributed transaction without first sending commit messages to the plurality of participants.