🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66520

Re: INN crash recovery

#66520
From: Russ Allbery
Date: Wed, 20 Aug 2003 16:22
28 lines
2432 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> So, quick examination of a few .DAT files showed no problems with
> overview.  I don't recall if I checked the active file or not (since it
> would be renumbered anyway, I wasn't too concerned).  But the tail end
> of the history file was rather corrupt (missing some entries at the end,
> and with a few kb of NUL trash a bit before the end), so I had to
> rebuild that.

stdio must have trashed it.

> Which leaves me with a feature request -- it would be nice if tdx-util
> could add entries to the history file.  (I would have been quite happy
> to keep whatever I could salvage of the old history file and just do a
> quick rebuild of the groups in tradspool...)

Hm, yeah, that's a good idea.

The simple thing that I'm going to add for INN 2.4.1 if I can find the
time is to just make sure that when renumbering, the *highest* of the
values found in the active file and the overview file is chosen rather
than just believing overview.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <8765ksi9in.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!199.184.165.233!feed2.news.rcn.net!rcn!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <Pine.LNX.4.44.0308201012570.1849-100000@news.mebay.biz> <874r0cjqpo.fsf@windlord.stanford.edu> <bi06tt$o2j$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <8765ksi9in.fsf@windlord.stanford.edu>
Subject: Re: INN crash recovery
Date: Wed, 20 Aug 2003 09:22:40 -0700
From: Russ Allbery <rra@stanford.edu>
References: <Pine.LNX.4.44.0308201012570.1849-100000@news.mebay.biz> <874r0cjqpo.fsf@windlord.stanford.edu> <bi06tt$o2j$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!199.184.165.233!feed2.news.rcn.net!rcn!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 28
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1061396561 22148 171.64.19.147 (20 Aug 2003
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:vEgBJdVM4O1+EYyFxiTdu1qau0I=