[ZODB-Dev] StorageServer's waiting list
Jim Fulton
jim at zope.com
Mon Nov 9 11:01:12 EST 2009
On Mon, Nov 9, 2009 at 9:25 AM, Christian Theune <ct at gocept.com> wrote:
...
> Reading the code talking to tpc_transaction I found that this seems to
> be merely an optimization (which I can disable by just letting
> tpc_transaction return None all the time).
No, it is used to decide if the underlying storage is committing.
> Why is the waiting list necessary?
To avoid blocking the server waiting for an underlying storage's commit lock.
> And why does it work alright in a ZEO
> fan-out scenario?
Why wouldn't it?
Jim
--
Jim Fulton
More information about the ZODB-Dev
mailing list