https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6942
--- Comment #47 from AXB <[email protected]> --- (In reply to Mark Martinec from comment #46) > > After replacing Redis.pm, flushing the DB, restzart redis server > > I'm getting only autolearn=unavailable > > > Jun 18 21:02:03.566 [39947] warn: bayes: bayes old token format 0 not > > supported, consider backup/restore or initialize a database > > Jun 18 21:02:03.568 [39947] dbg: bayes: _open_db(not yet open); Redis 1.961 > > Jun 18 21:02:03.569 [39947] dbg: bayes: found bayes db version 3 > > Jun 18 21:02:03.569 [39947] warn: bayes: bayes old token format 0 not > > supported, consider backup/restore or initialize a database > > > what am I missing > > That was intentional - I followed what Henrik suggested in comment 29: > > I think I'd prefer all-or-nothing transition. Perhaps lets do a > v:TOKEN_FORMAT variable on newly initiated db. Right now if it's missing, > keep the old code available for some time. Our main user AXB resets the > database often anyway. :-) > > So ... either ditch the existing database and restart redis server > (so that SA will initialize it to "v:TOKEN_FORMAT" = 2), or hack it: > $ redis-cli set v:TOKEN_FORMAT 2 I had indeed ditched the DB and restarted redis server (also made sure Redis dumps were gone before restarting) Reverted to older version, tomrrow I'll try again. <stumped> -- You are receiving this mail because: You are the assignee for the bug.
