[ZODB-Dev] Feedback on the packing process

Jim Fulton jim at zope.com
Fri Mar 4 14:33:21 EST 2011


On Fri, Mar 4, 2011 at 2:24 PM, Mikko Ohtamaa <mikko at redinnovation.com> wrote:
> Hi,
>
> I am not sure if there exist "feature requests" issue tracker for
> ZODB, so I ask first here.

https://blueprints.launchpad.net/zodb

> Would it be hard to implement some sort of feedback of ZODB packing
> process?

It would require a storage API change to the ZODB/ZEO level as there isn't
currently a way to get progress back from the pack API.

> If nothing else, just printing out to logger "INFO 20% done".

We use a custom packer for FileStorage:

  http://pypi.python.org/pypi/zc.FileStorage

It writes progress information to it's own logs. Not sure how easy it
is to figure out.

> This is because packing usually takes very long time and it might hard
> to observe when the process might complete.

I agree that this would be a useful feature.

I suggest making a blueprint.

Jim

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


More information about the ZODB-Dev mailing list