🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50537

Re: inn 2.3 storing problem

#50537
From: Russ Allbery
Date: Sat, 10 Feb 2001 02:49
37 lines
2670 bytes
Terrance Richard Boyes <tez@pierrot.co.uk> writes:
> Graeme Mathieson <graeme+usenet@mathie.cx> wrote:

>> A wee bit of shell-script hackery to rebuild the active file based on
>> the article numbers stored on disk sorted it for me but something tells
>> me there's an easier way.

> Uhm, I thought of trying that, but then I though that there could still
> be problems as the group.index file would also be out of sync ?

What really needs to happen is we need real recovery tools for the
tradindexed overview format that can rebuild it from various partial
states.  This shouldn't be too hard; I've looked at the code and have a
basic idea of how it works.  It just requires finding the time to write a
bunch of it.  :/

> If you check the timestamps on various files you'll notice that the
> history/overview files get updated as articles arrive (as does
> ~/log/news though with a slight delay), but the group.index/active seem
> to be updated at some odd[1] interval.

> [1] it may be logical, but I don't have a clue what it is ...

Hm, sounds like some of these problems would go away with a more frequent
sync....

> With a bad power-down style crash there's also always the _possibility_
> that the articles/overview/history will be out of sync anyway. So
> trashing the overview/history and doing a complete rebuild may be
> necessary.

It *shouldn't* be, damn it.  *grumble*  It never used to be.  INN used to
cope.  It should be able to cope.  I want to get back to that point.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylr917xneq.fsf@windlord.stanford.edu>
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-02!supernews.com!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <slrn97t2d0.mcd.djurica@damir.globalnet.hr> <20010205.192940.9E9801DE.2Gaa@pierrot.co.uk> <87lmrk40ez.fsf@homer.mathie.cx> <20010210.013729.9E9801DE.pbaa@pierrot.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <ylr917xneq.fsf@windlord.stanford.edu>
Subject: Re: inn 2.3 storing problem
Date: Sat, 10 Feb 2001 02:49:33 +0000
From: Russ Allbery <rra@stanford.edu>
References: <slrn97t2d0.mcd.djurica@damir.globalnet.hr> <20010205.192940.9E9801DE.2Gaa@pierrot.co.uk> <87lmrk40ez.fsf@homer.mathie.cx> <20010210.013729.9E9801DE.pbaa@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-02!supernews.com!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 36
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 981773373 17930 171.64.13.23 (10 Feb 2001 02:49:33 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)