[Zope-dev] How to avoid ConflictErrors ?

Morten W. Petersen morten@esol.no
29 Jan 2001 21:49:26 +0100


[Michel Pelletier]

| Check out the zope-zeo list archives and read the thread "ZODB database
| corruption under multiple connections" thread.  At the end, Jim mentions
| that conflict error read checks were added back into the code for some
| reason about inconsistencies.  He also mentions to "sync" often to avoid
| conflicts.  Perhaps if you grock the thread (I just glanced at it) you can
| get a better idea.

Ok.  The message says something about using a method named sync on the
ZODB connection.  How can I get ahold of the ZODB connection in Zope?

Thanks.

-Morten