Clock skew and packing
Bug #143481 reported by
Lalo Martins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ZODB |
New
|
Low
|
Unassigned |
Bug Description
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.
affects: | zope2 → zodb |
To post a comment you must log in.
There's more about this patch on the zodb-dev list:
http:// mail.zope. org/pipermail/ zodb-dev/ 2005-September/ 009248. html
If the patch works, it might be nice to have an option to explicitly ask for it, but I wouldn't want to assume that "time in the future means infinitely old" by default.
In all, if I had time to look at this, I'd rather spend it on automating a way to force timestamps in badly skewed databases back to sane times.