[ZODB-Dev] Pack problem

Jim Fulton jim at zope.com
Mon Jun 30 12:43:03 CEST 2014


On Mon, Jun 30, 2014 at 3:30 AM, Alessandro Pisa
<alessandro.pisa at gmail.com> wrote:
> Hello everybody :)
>
> I have a ~70Gb Data.fs that does not pack anymore.
> When I pack it it creates a ~8GB Data.fs.pack, then it evaluates thi condition:
>  -https://github.com/zopefoundation/ZODB/blob/3.9.5/src/ZODB/FileStorage/fspack.py#L410
> as True, removes, the Data.fs.pack and returns.

As the comment suggests, if you continued packing, the new file
would be as large as the old one, because no records would be
removed.  This is likely either because a) you've already packed to
that pack time before, or b) None of the objects written up to the pack time
have been written after the pack time and this there are no old records
to be removed.

> What I am trying to do:
>  - comment the Data.fs.pack removing.

Or, you could leave off pack-keep-old=false setting.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton


More information about the ZODB-Dev mailing list