In wait_for_commit method, the next thread’s transaction group is not sent for processing until the previous transaction has processed successfully and the commit is being sent.
This is the default setting. It assumes considerable contention between parallel transactions and results in the staggered execution shown in the figure.
This method maintains transaction serialization by instructing the DSI to wait until a transaction is ready to commit before initiating the next transaction. The next transaction can be submitted to the replicate data server while the first transaction is committing, since the first transaction already holds the locks that it requires.