[ZODB-Dev] FileStorage pack screwy.

Greg Ward gward@mems-exchange.org
Wed, 31 Oct 2001 17:56:49 -0500


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.

        Greg
-- 
Greg Ward - software developer                gward@mems-exchange.org
MEMS Exchange                            http://www.mems-exchange.org