1. A method comprising: receiving a call to end a transaction of transferring data from a first database to a second database within a hierarchy of nested transactions; determining a transaction level of the transaction in the hierarchy is a transaction start level; and moving, by a processor, at least one entry for the transaction in a pending-post-commit queue to a post-commit queue as at least one action associated with the transaction is executed in response to determining the transaction level is a transaction start level, wherein the pending-post-commit queue stores an entry for at least one action that is not executed and is associated with the transaction and the post-commit queue stores an entry for at least one action that has been executed and is associated with the transaction.