"tdx-util -A" spurious "xxx incorrect" warnings in 2.5.x ?

Matija Nalis mnalis-ml at voyager.hr
Wed Oct 26 14:57:13 UTC 2011


when I run "tdx-util -A" on tradspool/tradindex based 
inn2-2.5.2-2~squeeze1 (Debian Stable inn2) I get errors like:

tdx-util: tradindexed: count incorrect for alt.fan.tolkien: 68 != 69
tdx-util: tradindexed: low water mark incorrect for misc.answers: 2566 != 2561
tdx-util: tradindexed: count incorrect for misc.answers: 5 != 10
tdx-util: tradindexed: count incorrect for misc.health.diabetes: 321 != 326
tdx-util: tradindexed: count incorrect for rec.answers: 47 != 50
tdx-util: tradindexed: count incorrect for rec.arts.books.tolkien: 202 != 203
tdx-util: tradindexed: count incorrect for rec.autos.makers.chrysler: 18 != 20
tdx-util: tradindexed: count incorrect for rec.games.trading-cards.magic.rules: 7 != 10

the list changes over time. It seems like the race condition when the
data changes while tdx-utils runs. Does "tdx-util -A" under 2.5.x
needs to run under throttled/stopped server? 

If it does, it should be mentioned in man page. If it doesn't, the
consistency should be ensured (maybe by quick pause/unpause server
for each group?)

This problem never happened under 2.4.6 for several years, and under
2.5.2 it happens practically every nigtly run. Maybe tdx-util just
didn't have those checks back then, or it might have been locking
data itself to ensure consistency?

Ideas?

-- 
Opinions above are GNU-copylefted.



More information about the inn-workers mailing list