Item10469: Topic rename causes error with RegexCacheSearchPlugin
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
There's a really stupid bug in my
RegexCacheSearchPlugin
On line 584 of
RegexCacheSearchPlugin.pm it currently has:
my $db_btree = new DB_File::HASHINFO ;
Whereas it should be
my $db_btree = new DB_File::BTREEINFO ;
Alas I'm in no position to fix this properly and checkin a fix, but at least the correction is noted here.
A support note is that the
BerkeleyDB can get corrupted, but it only happened the first time yesterday after about 9 months. This caused Internet Error 500 and complaints of possible misconfiguration of the server. There had been not recent server changes and the Wiki had been working throughout the day. Also when the problem occurred some topics loaded fine and others received the above error, so the problem was not really misconfiguration.
DB repair options are:
- Use the Berkeley db_dump & db_load utilities to repair it (that worked for us)
- Restore a recent backup
- Delete the database and the cache will be rebuilt over time, of course you'll lose the speed benefits for a while
--
JulianLevens - 10 Mar 2011