[ZODB-Dev] FileStorage pack screwy.

Andrew Sydelko sydelko@ecn.purdue.edu
Wed, 31 Oct 2001 18:02:41 -0500


Greg Ward wrote:
> On 31 October 2001, Andrew T Sydelko said:
> > I am using ZEO and tried to do a Pack
> > to 30 days. The ZEO storage server churns
> > out a Data.fs.pack and then does nothing
> > with it. Does this mean it found a problem
> > with it? 
> 
> Did you call pack() on a FileStorage object or a ClientStorage?  The
> former blocks until the pack is done; the latter does not.  You can pass
> wait=1 to ClientStorage.pack() to get the blocking behaviour.

I called it on a ClientStorage and then watched the StorageServer.
After using lots of CPU, it started spitting out a Data.fs.pack and
then after a while it stopped growing. And now it just sits there still
using the old database (before packing).

--andy.