🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51348

Re: Sv.: Re: Sv.: Re: Sv.: Re: Sv.: How did that happen?

#51348
From: Terrance Richard Boyes
Date: Tue, 20 Mar 2001 19:37
41 lines
3541 bytes
'BOUSWMA Barry MCSE, Te1e Denmark Internet' <pedophile@te1edanmark.dk> wrote:
> "'jeff@litech.org'" <jeff@litech.org> skrev i en
> nyhedsmeddelelse:996qd3$7uv$1@marduk.litech.org...

>> If INN is running with overview out-of-sync with the spool, it
>> attempts to use article numbers that are already taken and
>> throttles itself with something like "File exists writing SMstore

> Ah.  That sounds more like the old case where the numbers on
> the disk for the active file got out-of-sync with what the OS
> had been able to commit to disk in the spool directories, where
> the article number is the name of the file and matches what is

[snip]

> In theory, renumbering would take care of that with old INN,
> but that was working directly on the spool proper.  If the
> new INN does renumbering not based on the spool, but rather
> via the storage API on the contents of the overview, and that
> fails to match the spool contents, then you've introduced yet
> another layer of complexity to fail or go wrong, requiring a
> complete rebuild of overview before the renumbering can have
> a hope to match the spool contents.

Yep, AFAICT the problem is that the group.index file is also
mmap'd, and that file isn't as easy to rebuild on its own.
I've tried a couple of code hacks to try and force it to
rebuild the group.map[1] without having to rebuild all the 
overview files as well, but not managed to get it right.

Though I'm sure that someone who actually knows the code 
should be able to do it without too much work...

[1] after renumbering the active file via a simple awk script running
against the overview files.

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
Cure the disease and kill the patient.

Technical Details
Message-ID: <20010320.193735.9E9801DE.SBaa@pierrot.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
References: <97rd0l$g3i$1@allhats.xcski.com> <E058F1785BCA19.FEED65030A508F@microsoft.com> <9955oa$233$1@marduk.litech.org> <A20304C37891BE.EF478F00D91045@microsoft.com> <996qd3$7uv$1@marduk.litech.org> <C105B47295EFA7.396EE0F11823CD@microsoft.com>

Show Full Headers
Complete Article Headers
Message-ID: <20010320.193735.9E9801DE.SBaa@pierrot.co.uk>
Subject: Re: Sv.: Re: Sv.: Re: Sv.: Re: Sv.: How did that happen?
Date: Tue, 20 Mar 2001 19:37:35 +0000
From: tez@pierrot.co.uk (Terrance Richard Boyes)
References: <97rd0l$g3i$1@allhats.xcski.com> <E058F1785BCA19.FEED65030A508F@microsoft.com> <9955oa$233$1@marduk.litech.org> <A20304C37891BE.EF478F00D91045@microsoft.com> <996qd3$7uv$1@marduk.litech.org> <C105B47295EFA7.396EE0F11823CD@microsoft.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: ECL.Net
X-Trace: mail2news.demon.co.uk 985117077 mail2news:8849 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!anchor-post-31.mail.demon.net!pierrot.demon.co.uk!pierrot.co.uk!tez@pierrot.co.uk
X-Lan-Trace: news.pierrot.lan 20010320.193735 news:SBaa IDENT tez@pierrot.demon.co.uk
User-Agent: tin/1.4.3-20000502 ("Marian") (AMIGA)
X-Cancel-Lock: TEZT:83373983a37fb0b477a062d2093a81d5 7aec2037524ba6a3e6ba771207edcc5e
X-PGP-Keyfile: <URL:http://www.pierrot.co.uk/pgpauth/>
X-PGP-Fingerprint: 20 66 0F E8 85 64 9C 2C 6F 82 6F 19 6C 2F 6A 1D
X-PGP-Auth: pub 512/3A14C4B9 1999/04/22 Tez Boyes <tez@pierrot.co.uk> iQBVAwUBOrexg0Xush46FMS5AQGtfgH/esP2f8gzAF5K3BL+NvWIG9KBjXNxxpuJ TsL9HSLzyMO9NJMRfPXmhVg9Mn2HYeWDdVnoxFD8xY8n7uOPxntN0g== =BsVf
X-NaMLServ: $VER: v0.9b <tez@pierrot.co.uk>
Lines: 40