🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65325

Re: Questions about Article Numbers

#65325
From: CHRIS MORSE
Date: Fri, 16 May 2003 19:50
43 lines
2268 bytes
On Tue, 13 May 2003 02:57:20 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:

>In article <ylr873zpy8.fsf@windlord.stanford.edu>,
>Russ Allbery  <rra@stanford.edu> wrote:
>>Gerry <gbeggs@Canada.com> writes:
>>
>>> Do article numbers always increment?
>>
>>Yes.
>>
>>> Do article numbers ever "roll over" or reset and go back to zero?
>>
>>No, not within the protocol.
>
>But, beware for this case in which a high watermark is lower than
>the last time you checked.  It usually means the server has been
>reset in some fashion, and if you don't check for it, you won't
>notice that there are new articles because their article numbers
>are way way below what you're expecting.  (It's a hack, and you
>can't catch all the cases, but it's better than nothing.)
>
>-- 
>Jeffrey M. Vinocur
>jeff@litech.org

I was going to ask pretty much the same question.
It's quite obvious that article numbers DO get reset.
I would say that they *have* to, as they probably won't
go beyond 2^31 or 2^32.

The question, I think, is how do servers implement this?
and how can we detect and handle it best?  do we have
to do a full rescan of the newsgroup or is there some way to compute
new values for the article numbers we had before?  (Probably not.)

In my own software, I check the high-water number and 
if it's less than the last time I checked, I perform a full rescan of
the newsgroup.

// CHRIS

Technical Details
Message-ID: <3ec53f93.963923658@news.dsl.net>
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!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <1fuuz0y.163h6f012dlkvgN%gbeggs@Canada.com> <ylr873zpy8.fsf@windlord.stanford.edu> <b9pmug$jhp$2@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <3ec53f93.963923658@news.dsl.net>
Subject: Re: Questions about Article Numbers
Date: Fri, 16 May 2003 19:50:50 GMT
From: chris@invalid.com (CHRIS MORSE)
References: <1fuuz0y.163h6f012dlkvgN%gbeggs@Canada.com> <ylr873zpy8.fsf@windlord.stanford.edu> <b9pmug$jhp$2@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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Posted via Supernews, http://www.supernews.com
X-Newsreader: Forte Free Agent 1.21/32.243
X-Complaints-To: abuse@supernews.com
Lines: 42