[ZODB-Dev] zc.demostorage2 assumes too much?

2009-11-26 Thread Wolfgang Schnerring
Hello, zc.demostorage2 assumes that the tpc_begin() of its underlying storages takes three parameters (transaction, tid, status), while both MappingStorage and IStorage only know about the first two. This strikes me as risky, and it does indeed break, for example when trying to use a DemoStorage

[ZODB-Dev] Re: Different commit protocols

2006-09-25 Thread Wolfgang Schnerring
* Wolfgang Schnerring <[EMAIL PROTECTED]>: > I'm working with Theuni on the BlobStorage, and am trying to understand the > different 2-Phase-Commit protocols that are in use in ZODB at the same time. > As I understand it, tpc_* is the old protocol, and prepare/commit is the n

[ZODB-Dev] Different commit protocols

2006-09-22 Thread Wolfgang Schnerring
Hi, I'm working with Theuni on the BlobStorage, and am trying to understand the different 2-Phase-Commit protocols that are in use in ZODB at the same time. As I understand it, tpc_* is the old protocol, and prepare/commit is the new protocol. The sequence in Transaction._commitResources is tpc