[Spambayes] database corruption

Tim Stone - Four Stones Expressions tim at fourstonesExpressions.com
Wed Mar 19 18:22:26 EST 2003


3/19/2003 6:18:29 PM, Tim Stone - Four Stones Expressions 
<tim at fourstonesExpressions.com> wrote:

>3/19/2003 6:11:15 PM, "Mark Hammond" <mhammond at skippinet.com.au> wrote:
>
>>> Just to let folk know that the database corruption that I reported and
>>> filed a while back has happened again (#699063).
>>
>>How about we do a db sync after we perform a train?  This shouldn't be too
>>painful, won't affect scoring performance, and should always leave the DB
>>consistent.  Only drawback I see is that after a huge retrain, my fast
>>machine takes a number of seconds to save the DB - OTOH, paying this penalty
>>*during* the retrain operation is moer appealing than paying it at shutdown
>>anyway.
>
>I thought that the proxy does this already, but a cursory inspection of the 
>code doesn't look like that's there.  I'll check in a fix.

Well, after a closer look, it really does.  The DBDictClassifier 
implementation does a db.sync() as well...

>
>c'est moi - TimS
>http://www.fourstonesExpressions.com
>http://wecanstopspam.org
>
>There are 10 kinds of people in the world:
>  those who understand binary,
>  and those who don't.
>
>
>
>_______________________________________________
>Spambayes mailing list
>Spambayes at python.org
>http://mail.python.org/mailman/listinfo/spambayes
>
>


c'est moi - TimS
http://www.fourstonesExpressions.com
http://wecanstopspam.org

There are 10 kinds of people in the world:
  those who understand binary,
  and those who don't.





More information about the Spambayes mailing list