TemporaryStorage: ZODB.POSException.POSKeyError: 0x83

Anyone seen myriades of POSKeyError related to TempStorage and PAS in Plone 5.2?

2019-09-03 08:52:33,975 ERROR   [ZODB.Connection:809][waitress] Couldn't load state for BTrees.OOBTree.OOBTree 0x83
Traceback (most recent call last):
  File "/home/dgho/onkopedia_buildout/eggs/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 791, in setstate
    p, serial = self._storage.load(oid)
  File "/home/dgho/onkopedia_buildout/eggs/ZODB-5.5.1-py3.7.egg/ZODB/mvccadapter.py", line 143, in load
    r = self._storage.loadBefore(oid, self._start)
  File "/home/dgho/onkopedia_buildout/eggs/tempstorage-5.0-py3.7.egg/tempstorage/TemporaryStorage.py", line 187, in loadBefore
    raise POSException.POSKeyError(oid)
ZODB.POSException.POSKeyError: 0x83

I'm guessing https://github.com/zopefoundation/tempstorage/issues/8 is what you're looking for.
And check https://github.com/zopefoundation/Zope/issues/686 as well
And Sessions and POSKeyErrors and https://github.com/zopefoundation/tempstorage/issues/12

Problems like this are known for TempStorage and modern versions of ZODB/Zope (in particular Zope 4). There is a corresponding issue on github.

hm...not completely sure what the proper solution or workaround would be expect getting rid of tempstorage completely. I see a similar issue with logout:

raceback (innermost last):

Module ZPublisher.WSGIPublisher, line 155, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 337, in publish_module
Module ZPublisher.WSGIPublisher, line 255, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 61, in call_object
Module Products.CMFPlone.browser.login.logout, line 22, in __call__
Module Products.PlonePAS.tools.membership, line 700, in logoutUser
Module Products.Transience.TransientObject, line 113, in invalidate
Module Products.Transience.Transience, line 551, in __contains__
Module Products.Transience.Transience, line 319, in _move_item
Module Products.Transience.Transience, line 988, in _housekeep
Module Products.Transience.Transience, line 784, in _gc
Module Products.Transience.Transience, line 1137, in __call__
Module ZODB.Connection, line 791, in setstate
Module ZODB.mvccadapter, line 143, in load
Module tempstorage.TemporaryStorage, line 187, in loadBefore
ZODB.POSException.POSKeyError: 0x09

Plone Foundation Code of Conduct