[ZODB-Dev] Read conflicts.
Chris McDonough
chrism@zope.com
Thu, 09 Aug 2001 08:28:14 -0400
FWIW, I've found places in the code where we check for a ConflictError
by identity (e.g. "t is ConflictError"), so in order to add new
ConflictError types, we'd need to go fix these places.
Anthony Baxter wrote:
>>>>Chris McDonough wrote
>>>>
>>I'd like to be able to tell read conflicts apart from write conflicts
>>for debugging and statistical purposes. To do so, I'd like to add a
>>ReadConflictError to POSException which subclasses ConflictError. Does
>>anyone see a problem with me just going ahead and doing that and
>>checking it in on the trunk?
>>
>
> Nope. But then, you knew that I liked it already :)
>
> More detailed exceptions from ConflictError good. I also like the
> idea of the storages supporting some sort of "I tried to resolve the
> conflict, but failed" exception.
>
> Anthony
>
>
--
Chris McDonough Zope Corporation
http://www.zope.org http://www.zope.com
"Killing hundreds of birds with thousands of stones"