[ZODB-Dev] tracking back to what code caused a conflicting object change

Chris Withers chris at simplistix.co.uk
Wed Jul 28 10:03:05 EDT 2010


Hi All,

Forwarding here as there may be more people with the relevant knowledge 
around.

So, the key thing I'm trying to find is what code is changing the 
conflicting objects? (primarily since I'm not aware of any doing so, so 
it must be inadvertantly getting executed)

Any ideas gratefully received!

Chris

PS: apologies for the inline forwarding, zope.org's MTAs are still 
incorrectly configured to reject messages forwarded as attachments...

-------- Original Message --------
Subject: [Zope] ConflictError from 
Products.Transience.TransientObject.TransientObject
Date: Tue, 27 Jul 2010 11:45:26 +0100
From: Chris Withers <chris at simplistix.co.uk>
To: zope list user <zope at zope.org>

Hi All,

I have an old Zope 2.9.8 instance which has recently started throwing
the following unresolved ConflictErrors:

Traceback (innermost last):
   Module Zope2.App.startup, line 173, in zpublisher_exception_hook
   Module ZPublisher.Publish, line 121, in publish
   Module Zope2.App.startup, line 240, in commit
   Module transaction._manager, line 96, in commit
   Module transaction._transaction, line 380, in commit
   Module transaction._transaction, line 378, in commit
   Module transaction._transaction, line 433, in _commitResources
   Module ZODB.Connection, line 479, in commit
   Module ZODB.Connection, line 1050, in _commit_savepoint
   Module tempstorage.TemporaryStorage, line 202, in store
ConflictError: database conflict error (oid 0x046a, class
Products.Transience.TransientObject.TransientObject, serial this txn
started with 0x0387c9f23edea155 2010-07-27 10:26:14.735074, serial
currently committed 0x0387c9f28a1ff766 2010-07-27 10:26:32.373016)

To my knowledge, the request that throws this isn't touching the session
or temp_folder, but I guess something is.

How can I find out what code is actually touch this and so causing this
conflict?

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
              - http://www.simplistix.co.uk
_______________________________________________
Zope maillist  -  Zope at zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )-------- Original 
Message --------
Subject: [Zope] (also) ConflictError from 
Products.Transience.Transience.Increaser
Date: Tue, 27 Jul 2010 11:47:09 +0100
From: Chris Withers <chris at simplistix.co.uk>
To: zope list user <zope at zope.org>
References: <4C4EB8C6.8050904 at simplistix.co.uk>

Chris Withers wrote:
> To my knowledge, the request that throws this isn't touching the session 
> or temp_folder, but I guess something is.
> 
> How can I find out what code is actually touch this and so causing this 
> conflict?

In similar circumstances, I also see:

Traceback (innermost last):
    Module Zope2.App.startup, line 173, in zpublisher_exception_hook
    Module ZPublisher.Publish, line 121, in publish
    Module Zope2.App.startup, line 240, in commit
    Module transaction._manager, line 96, in commit
    Module transaction._transaction, line 380, in commit
    Module transaction._transaction, line 378, in commit
    Module transaction._transaction, line 433, in _commitResources
    Module ZODB.Connection, line 479, in commit
    Module ZODB.Connection, line 1050, in _commit_savepoint
    Module tempstorage.TemporaryStorage, line 202, in store
ConflictError: database conflict error (oid 0x29, class
Products.Transience.Transience.Increaser, serial this txn started with
0x0387c9ffb271bc44 2010-07-27 10:39:41.822878, serial currently
committed 0x0387ca0108963711 2010-07-27 10:41:02.012526)

How can I find out what's going on to cause this conflict?

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
              - http://www.simplistix.co.uk
_______________________________________________
Zope maillist  -  Zope at zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )

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


More information about the ZODB-Dev mailing list