#6269 NORM Never A: usb index backward compatibility
Zarro Boogs per Child
bugtracker at laptop.org
Fri Feb 1 18:07:16 EST 2008
#6269: usb index backward compatibility
------------------------+---------------------------------------------------
Reporter: erikos | Owner: tomeu
Type: defect | Status: reopened
Priority: normal | Milestone: Never Assigned
Component: datastore | Version:
Resolution: | Keywords:
Verified: 0 | Blocking:
Blockedby: |
------------------------+---------------------------------------------------
Comment(by OllyBetts):
Since the index is apparently automatically rebuilt if it doesn't exist,
the forward/backward compatibility could be solved by automatically
deleting the Xapian index if you get a Xapian::DatabaseVersionError
exception (which means "I don't understand this index version").
If you want to recover from corruption of the Xapian index, doing the same
for Xapian::DatabaseCorruptError would work, though it might be a good
idea to report the issue somehow to avoid papering over genuine problems.
As to which Xapian version to use, read the NEWS file to see the user-
visible changes. This also covers big internal changes which shouldn't be
user-visible, but are potentially destabilising (which would be user-
visible).
There certainly have been a few bug fixes and several performance
improvements since 1.0.2, but these may not be for cases which matter to
you.
--
Ticket URL: <http://dev.laptop.org/ticket/6269#comment:4>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list