Skip Headers

# External Transaction Commit Timeouts

Previous

Next

When an external transaction is committed, the external transaction service expects each transaction owner to commit its portion of the overall transaction within a finite amount of time. If any individual transaction exceeds this timeout interval, the external transaction service will fail the specific transaction and roll it back (or mark it rollback only).

If your transaction is large and its commit transaction may exceed the external transaction service timeout interval, use `UnitOfWork` method `writeChanges` to write changes to the data source before committing the external transaction. This will reduce the time it takes for your part of the global transaction to commit.

For more information about the `UnitOfWork` method `writeChanges`, including restrictions and warnings, see "Writing Changes Before Commit Time".