Joachim Schmitz wrote at 2007-5-28 17:45 +0200:
>In ZODB.Connection.Connection.open I see:
>
>         if self._reset_counter != global_reset_counter:
>             # New code is in place.  Start a new cache.
>             self._resetCache()
>         else:
>             self._flush_invalidations()
>
>So self._flush_invalidations() is only called in the else-condition.
>In your patch it is always called. I try your version and report back.

As almost always "self._reset_counter == global_reset_counter"
and "_resetCache" effectively flushes the cache, the change is *VERY* unlikely
to affect what you see with respect to conflict errors.


-- 
Dieter
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to