ZODB.Architecture.Storage Interface.tpc_begin

Documentation
Begin the two-phase commit process.
Parameters
TypeNameDefaultDocumentation
Transactiontransaction  
State-dependent
This method blocks until the storage is in the not committing state, and then places the storage in the committing state. If the storage is in the committing state and the given transaction is the transaction that is already being committed, then the call does not block and returns immediately without any effect.