Article View: news.software.nntp
Article #50211Re: Article numbering on NNTP servers
From: Marcus Moennig
Date: Sat, 27 Jan 2001 14:18
Date: Sat, 27 Jan 2001 14:18
76 lines
4041 bytes
4041 bytes
Very nice to hear some comments from a developer on the other side! > The high-number per group is stored > twice (in the group list - and in a special file) - with crash recovery. Well, a disk crash is still a disk crash. > Most popular news-readers are ignoring the problem and simply > wait for a high number which is greater than the last stored one. I don't want to go that way. > The second is to "Reload all headers" (almost limited to 300/1000/nnnn). > Of course a good new-reader show repair its xover->articlenumber list. That sounds better. >>When retrieving article bodies for known headers by article number, >>should it check the returned message has the correct MessageId? > > I have seen a lot of wierd behavior of a few servers: If you fetch > old articles which has been expired, then you sometimes get a > wrong article. This is a malfunction of a server - but I think that a > client should always react "defensively". I wasn't aware of such a problem. I think I will add a check here. > I did implement a warning when a high number is lower than before You mean you implemenened a warrning in a newsreader or in the server app you mentioned? > - and I tried download the entire xover again automatically whenever > the new high number is lower than the last low-number. > > However this caused new problems because some servers > reduce their high number if the highest messages are cancelled. > So the situation happens more often than some believe. Wouldn't it be safer to check if the low number is lower than the last time? I can't think of a situation when this could happen without a server problem. Message cancels wouldn't matter here. > It seems that most news-reader writers are using the actually modern > theory: "Dont bother the user with error-messages - it just confused them". > I dont subscribe to this - but you can choose the same strategy > (it reduces the amount of coding for exceptional situations ;-) I rather invest some time here and reduce the amount of answering support emails from confused or upset users. > You have two extreme choices: > 1 - Ignore high mark decreases - and offer the user the functions to "catch up" > and "reload all". > 2 - Reload entire message list (and repair internal article numbering) in case > of high mark decreases. > > (I'm using -2- and issue only a warning if more than xxx headers must be reloaded) And what if the user decides that this takes too much time? You would still have false article numbers in your database. I tend to implement a strict version of -2-. > btw.: It took me a lot of time to deal with the "high number problem", too. > But obviously RFC 2980 was written by server programmers who did > not take this too serious. Else there would have been a proposal for > servers/readers for this case. Maybe it was just written by people who did not use Windows at all and so they thought a server crash would be an uncommon problem... Marcus
Technical Details
Message-ID:
<36918.63757amb@40tude.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-02!supernews.com!isdnet!freenix!codeine.org!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<36916.96891amb@40tude.com> <q11280k00@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <36918.63757amb@40tude.com> Subject: Re: Article numbering on NNTP servers Date: Sat, 27 Jan 2001 15:18:15 +0100 From: "Marcus Moennig" <minibbjd@gmx.net> References: <36916.96891amb@40tude.com> <q11280k00@archiver.winews.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!supernews.google.com!sn-xit-02!supernews.com!isdnet!freenix!codeine.org!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.nntp Organization: T-Online Lines: 75 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 980605121 03 23528 z2YqoKVSTafb8 010127 14:18:41 X-Complaints-To: abuse@t-online.com X-Sender: 520046593153-0001@t-dialin.net X-Newsreader: Free Spy