-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Fulton wrote:
> Log message for revision 91235:
>   Removed the feature to try to save the index periodically because:
>   
>   1. The saving was performed in (tpc)_finish.  It is important that this
>      method do as little as possible because it cannot fail!
>   
>   2. The algorithm for deciding how often to save was broken. For large
>      databases, for which saving periodically is desireable, the period
>      was set so high that the index was effectively never saved.
>   
>   It might be nice to save periodically, but doing so is tricky, since
>   we really don't want to do it during commit.  Until we figure out how
>   to do this right, it is better not to try.
>   
>   In the mean time, we save on close and on pack, which is proably often
>   enough in most cases.

Perhaps we could extend the "zeopack" RPC mechanism with a special value
for the pack interval:  if passed, the server would just do the index
save, and skip the real packing.

People could then tune the interval by scripting.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI0m78+gerLs4ltQ4RAqjxAJwJXrWyPtY3ze0N0eSxu9Z9j3SxLQCgwXBU
7uxjYZeUlc/uOlmpO39okNs=
=ZB86
-----END PGP SIGNATURE-----

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

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

Reply via email to