osdir.com
mailing list archive

Subject: Re: Packing Mounted Storages (from ZEO clients) - msg#00052

List: web.zope.zodb

Date: Prev Next Index Thread: Prev Next Index
Chris McDonough wrote:
>
> Why is this wrong? Is it a mounted ZEO client storage? You can call "pack"
> on that too.

Nope, I just underestimated the complexity involved in doing what I want to do.
I have it
figured out now, but boy mounting storages and the like could be simpler :-S

cheers,

Chris


_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx
http://lists.zope.org/mailman/listinfo/zodb-dev



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Packing Mounted Storages (from ZEO clients)

Why is this wrong? Is it a mounted ZEO client storage? You can call "pack" on that too. ----- Original Message ----- From: "Chris Withers" <chrisw@xxxxxxxxxx> To: "Chris McDonough" <chrism@xxxxxxxx> Cc: "ZODB Dev List" <zodb-dev@xxxxxxxx> 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 > _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx http://lists.zope.org/mailman/listinfo/zodb-dev

Next Message by Date: click to view message preview

Re: Packing Mounted Storages (from ZEO clients)

> Nope, I just underestimated the complexity involved in doing what I want to do. I have it > figured out now, but boy mounting storages and the like could be simpler :-S Yep. It would get better if somebody implemented http://dev.zope.org/Wikis/DevSite/Proposals/StorageAndConnectionTypeRegistri es . _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx http://lists.zope.org/mailman/listinfo/zodb-dev

Previous Message by Thread: click to view message preview

Re: Packing Mounted Storages (from ZEO clients)

Why is this wrong? Is it a mounted ZEO client storage? You can call "pack" on that too. ----- Original Message ----- From: "Chris Withers" <chrisw@xxxxxxxxxx> To: "Chris McDonough" <chrism@xxxxxxxx> Cc: "ZODB Dev List" <zodb-dev@xxxxxxxx> 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 > _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx http://lists.zope.org/mailman/listinfo/zodb-dev

Next Message by Thread: click to view message preview

Re: Packing Mounted Storages (from ZEO clients)

> Nope, I just underestimated the complexity involved in doing what I want to do. I have it > figured out now, but boy mounting storages and the like could be simpler :-S Yep. It would get better if somebody implemented http://dev.zope.org/Wikis/DevSite/Proposals/StorageAndConnectionTypeRegistri es . _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx http://lists.zope.org/mailman/listinfo/zodb-dev
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by