Hi,

I'm still working on my bayes training project, but also trying to
upgrade the bayes DB due to upgrading perl and all the associated
modules. I started with this output from "sa-learn --dump magic"

0.000          0          3          0  non-token data: bayes db version
0.000          0       1786          0  non-token data: nspam
0.000          0       3698          0  non-token data: nham
0.000          0     198349          0  non-token data: ntokens
0.000          0  929232460          0  non-token data: oldest atime
0.000          0 1249369370          0  non-token data: newest atime
0.000          0 1249369387          0  non-token data: last journal sync atime
0.000          0 1249342872          0  non-token data: last expiry atime
0.000          0          0          0  non-token data: last expire atime delta
0.000          0          0          0  non-token data: last expire
reduction count

After the upgrade (sa-learn --sync -D), it zeroed the nham and nspam.
How could this happen? What could I have
done wrong? This is after the upgrade:

0.000          0          3          0  non-token data: bayes db version
0.000          0          0          0  non-token data: nspam
0.000          0          0          0  non-token data: nham
0.000          0          0          0  non-token data: ntokens
0.000          0 1249438016          0  non-token data: oldest atime
0.000          0 1249438016          0  non-token data: newest atime
0.000          0 1249438016          0  non-token data: last journal sync atime
0.000          0 1249438016          0  non-token data: last expiry atime
0.000          0          0          0  non-token data: last expire atime delta
0.000          0          0          0  non-token data: last expire
reduction count

It seemed to indicate that it was upgrading from db version 0 to db
version 2, then db version 3, although the first sa-learn output shows
that it was already version 3.

Thanks,
Alex

Reply via email to