What does the second phase of the network two-phase commit protocol do?

A.
All participants are told to commit and release locks.
B.
All participants are told to commit and to release locks if the commit is successful.
C.
All participants are instructed to prepare to commit, thus guaranteeing the changes they make
will survive a system failure.
D.
The before and after images of the transaction changes are written to the audit trail.