[ZODB-Dev] FileStorage redundant pack error

Pieter Nagel pieter@nagel.co.za
Sun, 1 Dec 2002 22:42:55 +0200


On Wed, Nov 27, 2002 at 02:30:15PM +0000, Chris Withers wrote:
> >I currently use cron to pack some storages weekly. Occasionally I see this 
> >error if a week goes by without any database changes. I was about to 
> >change this script to ignore this type of error, when I realised that the 
> >current approach is silly.

+1

I use pack to completely garbage-collect a zodb database before doing a
migration from old to new object schemas, and sometimes this could be a
NOP.

-- 
     ,_
     /_)              /| /
    /   i e t e r    / |/ a g e l
    http://www.nagel.co.za