[Zope-Checkins] CVS: Zope2 - FileStorage.py:1.37.12.8
Jim Fulton
jim@digicool.com
Thu, 7 Sep 2000 15:51:31 -0400
Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak.digicool.com:/tmp/cvs-serv10625
Modified Files:
Tag: Zope-2_2-branch
FileStorage.py
Log Message:
- Removed optimization in commitVersion that caused versions to be
committed incorrectly when there were multiple stores for an object
in a transaction.
- Changed pack to (re)open the database in read-only mode. This
enables packing a database off-line via a symlink.
- Added read_only option to read_index so that it doesn't try to
truncate a database opened read_only. This could happen when
opening a database that is open and being actively written by
another process.
- Log an error rather than panic when we find a bad previous record
pointer.