Bogofilter-0.94.0 - new current release

Matthias Andree matthias.andree at gmx.de
Sun Mar 6 16:48:53 CET 2005


R Kimber <rkimber at ntlworld.com> writes:

> I converted to transactions because I thought that was necessary for
> bogofilter in the future.

You can just leave things as they are. My personal opinion is that we
should remove everything that is non-transactional because anything that
falls short of providing atomicity and durability guarantees will trash
your database if interrupted at the wrong moment.

The switch to default to non-TXN was made by David without my consent,
and we currently diverge on whether transactions should be default or
no. I think they should, David is a more concerned about making
bogofilter more complex to manage. No big deal, we'll let the users
choose for now until we have reached a consensus and I have fixed the
code to help with maintenance concerns. Resizing the environment is one
of the large remaining issues.

> If I wanted to revert to the non-
> transactional approach, is it just a matter of deleting the __db* and
> log* files and then installing 0.94.0?

Just deleting the __db.* and log.* files is not sanctioned by Berkeley
DB documentation; so if you want to play safe, use bogoutil -d to dump
the database to a text file, remove the __db.*, log.* AND *.db files and
then reload the text file into the database with bogoutil
--db-transaction=no -l.

-- 
Matthias Andree
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter



More information about the Bogofilter mailing list