[ZCM] [ZC] 1861/ 1 Request "Clock skew and packing"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Fri Aug 5 02:16:30 EDT 2005
Issue #1861 Update (Request) "Clock skew and packing"
Status Pending, Database/bug low
To followup, visit:
http://www.zope.org/Collectors/Zope/1861
==============================================================
= Request - Entry #1 by lalo on Aug 5, 2005 2:16 am
Uploaded: "zodb-pack-future.patch"
- http://www.zope.org/Collectors/Zope/1861/zodb-pack-future.patch/view
If you have transactions with a timestamp in the future (probably due to clock skew), they will never be packed away, at least not until you get to that date again.
If you compound that with an application-level bug that for some reason causes the database file to grow too fast, then you'll have a really huge and slow server and no easy way to fix it.
Proposed solution: on ZODB.fspack.GC.buildPackIndex, consider transactions that are in the future as infinitely old. Something like this:
==============================================================
More information about the Zope-Collector-Monitor
mailing list