inn-stable on HP/UX
Alex Kiernan
alexk at alexk.eng.demon.net
Mon Jun 7 13:46:50 UTC 2004
Russ Allbery <rra at stanford.edu> writes:
> Alex Kiernan <alexk at alexk.eng.demon.net> writes:
>
> > If the tradindexed code didn't mmap & lock didn't it might work. One
> > thought I guess is what code paths is the locking protecting against?
> > Just innd and expireover?
>
> And tdx-util, and nnrpd will acquire a lock if the first time it tries, it
> ends up seeing a data file that doesn't match the index file. That lets
> it cleanly wait for expireover if expireover is currently rebuilding that
> group.
So you'd have:
writer: innd, expireover, tdx-util
reader: nnrpd
Short of introducing a separate file you lock on per group I can't
think how to make it work.
--
Alex Kiernan, Principal Engineer, Development, THUS plc
More information about the inn-workers
mailing list