[ZODB-Dev] [ zodb-Bugs-653330 ] _sane() is unnecessary
SourceForge.net
noreply@sourceforge.net
Fri, 17 Jan 2003 11:33:45 -0800
Bugs item #653330, was opened at 2002-12-13 16:38
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=653330&group_id=15628
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Jeremy Hylton (jhylton)
Assigned to: Nobody/Anonymous (nobody)
Summary: _sane() is unnecessary
Initial Comment:
Every time a FileStorage is opened the _sane() method
is called to look for the last old-style-undo
transaction. In many storages, there will be no such
transaction, and _sane() will read the entire storage
backwards. This is expensive and unnecessary.
It may be possible for read_index() to keep track of
the last 'u' transaction it sees to avoid the backwards
search.
----------------------------------------------------------------------
>Comment By: Jeremy Hylton (jhylton)
Date: 2003-01-17 19:33
Message:
Logged In: YES
user_id=31392
Yes it is.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=653330&group_id=15628