ConflictError's worthwhile to note? (was: Re: [Zope-dev] Please vote about conflict errors logging)

Dieter Maurer dieter at handshake.de
Mon Dec 5 13:57:05 EST 2005


Jean-Marc Orliaguet wrote at 2005-12-4 22:28 +0100:
> ...
>In the log flle I'd like to be informed about events that are 
>unexpected. Conflict errors of this kind occur "by design".

This argument is not convincing:

  In a similar way, I could argue that "MemoryError"s are there
  by design.

  While it is true that *occational* "ConflictError"s are nothing
  to worry about, a higher rate indicates that you soon
  may come into trouble -- because the risk increases that
  the automatic retries will not be able to recover and
  your users will see errors.

Obviously, a "ConflictError" is far less important than
a "MemoryError", but a higher rate of conflicts should be analysed
and if possible avoided.

The conflict rate is related to the quality of your application design. 
I like quality related information in my logfiles -- to be able
to take action before it is too late.

-- 
Dieter


More information about the Zope-Dev mailing list