[ZCM] [ZC] 1975/ 5 Comment "ValueError: already have current data for oid"

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Tue, 07 Aug 2007 14:41:29 -0400
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #1975 Update (Comment) "ValueError: already have current data for oid"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1975

==============================================================
= Comment - Entry #5 by alecm on Aug 7, 2007 2:41 pm

I'm seeing this with zope 2.9.7 mostly during catalog queries.  Very disturbing.  Is there some configuration that con be done to at least reduce the likelihood of these?
________________________________________
= Comment - Entry #4 by simon on Jul 31, 2007 7:36 pm

Possibly same error (?) experienced with Zope 2.10.3 at zwiki.org, only when using ZEO. See http://zwiki.org/1358 .
________________________________________
= Comment - Entry #3 by chrisw on Jun 24, 2007 10:20 am

Just had another occurence of this also under high load:

#  Module Products.ZCatalog.CatalogBrains, line 86, in getObject
# Module OFS.Traversable, line 250, in restrictedTraverse
# Module OFS.Traversable, line 185, in unrestrictedTraverse
__traceback_info__: ([], 'some_id')
# Module Products.BTreeFolder2.BTreeFolder2, line 514, in __getattr__
# Module ZODB.Connection, line 732, in setstate
# Module ZODB.Connection, line 768, in _setstate
# Module ZEO.ClientStorage, line 746, in load
# Module ZEO.ClientStorage, line 774, in loadEx
# Module ZEO.cache, line 279, in store

ValueError: already have current data for oid

I wonder if this could be caused by memory exhaustion on the app server?
________________________________________
= Edit - Entry #2 by chrisw on Jun 24, 2007 10:19 am

 Changes: submitter email, revised version_info, new comment

Adding information from latest occurence.
________________________________________
= Request - Entry #1 by chrisw on Dec 15, 2005 12:16 pm

This is a bonus one, seems to happen only under very high load, and even then pretty rarely...

  File "lib/python/Products/Transience/Transience.py
", line 297, in _move_item
    abucket = self._data.get(ts, None) # XXX ReadConflictError hotspot
  File "lib/python/ZODB/Connection.py", line
704, in setstate
    self._setstate(obj)
  File "lib/python/ZODB/Connection.py", line
742, in _setstate
    p, serial = self._storage.load(obj._p_oid, self._version)
  File "lib/python/ZEO/ClientStorage.py",
line 746, in load
    return self.loadEx(oid, version)[:2]
  File "lib/python/ZEO/ClientStorage.py",
line 774, in loadEx
    self._cache.store(oid, ver, tid, None, data)
  File "lib/python/ZEO/cache.py", line 279,
in store
    raise ValueError(

ValueError: already have current data for oid

==============================================================