🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #2655

Re: Lost active files (was: The Article Number Crisis)

#2655
From: Bernd Felsche
Date: Sat, 05 Dec 1992 09:19
65 lines
3635 bytes
In <ByL4Dy.FoK@mtholyoke.edu> jbotz@mtholyoke.edu (Jurgen Botz) writes:

>How serious is "serious"..?  No more serious certainly than a couple
>of months ago when I had a disk crash that wiped out my active file
>(yes, I was able to recreate it partially from the news spool, but see
>below).

[...]

>So, to get back to my disk crash, the problem was that after
>recreating the active file I was able to restore the counters only
>for groups which actually contained articles at the time... for 
>groups which had infrequent traffic and were empty I was forced to
>simply pick a number which I guessed was higher than what it 
>had previously been or new articles would have appeared as "read"
>in users's newsreader clients.

Didn't you have a newsreader database which you could use like nn's?

>I think the linkage between sequence numbers, which are server
>specific, and newsreader clients needs to be less tight.  ...

You've got me thinking now....

If one could do indirection mapping between physical article
numbers on the news server, and the article numbers which
the users see via their readers, then that would be workable.
Such an indirection index is already inherent in the Cnews
history file, BTW.

A reader must be able to decide which articles have already
been seen by a user and this information is usually kept in
.newsrc. However, the semantics of article sequence numbers
also include a notion of history (i.e. lower number ==
earlier article).

Obviously, if the .newsrc was used as a pointer into the
history file (or preferably the dbz version) to retrieve
individual articles, then the desirable indirection is
available. This extra processing step introduces more load
into the system which may be too painful to tolerate on the
less-powerful machines.

To completely de-couple the article number from it's physical
file location, the history file could be used to maintain an
additional key, probably a 32-bit (unsigned) number, which
is the notional article number of the article for
newsreaders, and retain the existing pathname to index the
physical file. I believe that Geoff is working on a unified
newsreader database, which may instead hold such decoupling
information.

When the news software is updated or the machine
reconfigured, the history file is reprocessed and the
pathname field updated. When we get close to the "crisis
point" of over-running a 32-bit number, we'd better find a
better means of communicating!

Hope I didn't rant and rave too much...
-- 
+-----+ Bernd Felsche                     _--_|\  #include <std/disclaimer.h>
| | | | MetaPro Systems Pty Ltd          /      \ bernie@metapro.DIALix.oz.au
| | | | 328 Albany Highway,              X_.--._/         Fax: +61 9 472 3337
|m|p|s| Victoria Park, Western Australia 6100  v        Phone: +61 9 362 9355
Technical Details
Message-ID: <1992Dec5.091904.24860@metapro.DIALix.oz.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.misc.mbox.zip!sparky!uunet!munnari.oz.au!uniwa!DIALix!metapro!bernie
References: <19921130165314SEB1525@MVS.draper.com> <ByKAnM.BF2@world.std.com> <ByL4Dy.FoK@mtholyoke.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1992Dec5.091904.24860@metapro.DIALix.oz.au>
Subject: Re: Lost active files (was: The Article Number Crisis)
Date: Sat, 05 Dec 1992 09:19:04 +0000
From: bernie@metapro.DIALix.oz.au (Bernd Felsche)
References: <19921130165314SEB1525@MVS.draper.com> <ByKAnM.BF2@world.std.com> <ByL4Dy.FoK@mtholyoke.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.misc.mbox.zip!sparky!uunet!munnari.oz.au!uniwa!DIALix!metapro!bernie
Newsgroups: news.misc,news.software.b,news.software.readers
Organization: MetaPro Systems, Perth, Western Australia
Lines: 64