[Zope] zopectl does not terminate

Chris Withers chris at simplistix.co.uk
Mon Mar 23 08:48:30 EDT 2009


Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Chris Withers wrote:
>> Tres Seaver wrote:
>>>  - abort the current transaction
>>>  - sync its database connection (to pick up the changed objects)
>> I'm pretty sure the abort has done the sync for quite some time now...
> 
> Nope, see:
> 
>   http://svn.zope.org/ZODB/trunk/src/ZODB/Connection.py
> 
> 'sync()' calls 'self.transaction_manager.abort()', actually.

Well, I've never needed to call sync() in addition to abort() for a good 
3 or 4 years now, an that includes when another thread changes the data 
being fiddled with...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list