Bug 4974 - RFE: auto-upgrade when DB formats change, using BerkeleyDB
Summary: RFE: auto-upgrade when DB formats change, using BerkeleyDB
Status: RESOLVED DUPLICATE of bug 4416
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P5 enhancement
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-09 15:56 UTC by Justin Mason
Modified: 2006-12-04 13:54 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Mason 2006-07-09 15:56:41 UTC
http://rt.cpan.org/Public/Bug/Display.html?id=13353 describes $db->upgrade(), an
API on BerkeleyDB to perform database upgrades; it might be an idea at some
stage to add code which will attempt to upgrade unreadable db database files.
Comment 1 Theo Van Dinter 2006-07-09 17:38:59 UTC
(In reply to comment #0)
> http://rt.cpan.org/Public/Bug/Display.html?id=13353 describes $db->upgrade(), an
> API on BerkeleyDB to perform database upgrades; it might be an idea at some
> stage to add code which will attempt to upgrade unreadable db database files.

However, this would require us to use the BerkeleyDB perl module instead of
DB_File...  If we were going to support the new module, we may as well make a
full BayesStore module for it.  I believe we'd get several other benefits as
well related to locking, etc.

(I'm pretty sure BerkeleyDB was discussed before and we decided to stick with
DB_File, but it may be worth looking at the idea again.)
Comment 2 Theo Van Dinter 2006-12-04 13:54:58 UTC

*** This bug has been marked as a duplicate of 4416 ***