[ZODB-Dev] Packing Mounted Storages (from ZEO clients)
Chris McDonough
chrism@zope.com
Fri, 26 Apr 2002 10:38:08 -0400
Why is this wrong? Is it a mounted ZEO client storage? You can call "pack"
on that too.
----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "Chris McDonough" <chrism@zope.com>
Cc: "ZODB Dev List" <zodb-dev@zope.org>
Sent: Friday, April 26, 2002 9:11 AM
Subject: Re: [ZODB-Dev] Packing Mounted Storages (from ZEO clients)
> Chris McDonough wrote:
> >
> > Call the mounted storage's pack() method. You can do this like so,
where
> > "obj" is any object contained in the database backed by the storage you
want
> > to pack:
> >
> > storage = obj._p_jar._db._storage
> > storage.pack()
> >
> > This will have no effect on the other storage.
>
> storage = obj_in_mounted_storage._p_jar._db._storage
> print storage
>
> ..gives:
>
> <ClientStorage instance at 0132F448>
>
> ...waaaagh :-(
>
> Heylp?!
>
> cheers,
>
> Chris
>