Article View: news.software.nntp
Article #82038Re: First article after a GROUP selection
From: Curt Welch
Date: Thu, 22 Oct 2009 21:10
Date: Thu, 22 Oct 2009 21:10
67 lines
4676 bytes
4676 bytes
=?iso-8859-15?Q?Julien_=C9LIE?= <iulius@nom-de-mon-site.com.invalid> wrote: > Hi, > > GROUP fr.test > 211 7226 3146 11068 fr.test > STAT > 423 Bad article number > NEXT > 223 3156 <fgpu2o$f9c$1@netfinity.fr> Article retrieved; request text > separately LAST > 422 No previous article to retrieve > > According to RFC 3977: > > The successful selection response will return the article numbers of > the first and last articles in the group at the moment of selection > (these numbers are referred to as the "reported low water mark" and > the "reported high water mark") and an estimate of the number of > articles in the group currently available. > > [...] > > When a valid group is selected by means of this command, the > currently selected newsgroup MUST be set to that group, and the > current article number MUST be set to the first article in the group > (this applies even if the group is already the currently selected > newsgroup). If an empty newsgroup is selected, the current article > number is made invalid. If an invalid group is specified, the > currently selected newsgroup and current article number MUST NOT be > changed. > > When we speak about "reported low water mark" and "first article in > the group", is it the same notion? > That is to say, is the above sample with 3146 as the low water mark, > right? Is the article number to be set to 3146 after GROUP or LISTGROUP? > (And not 3156, the real first article?) I would say that if 3156 was the first valid article, that is what the low water mark should be and what GROUP should have returned. I thought that's how it was expected to work. The reality is that the low and high water mark are, for practical reasons, only approximations because they can be, and sometimes actually are, changing faster than you issue two NNTP commands. So in the above example you gave, we don't know for sure the server returned the wrong number. In your above example, did the software report the wrong value, or was 3146 a valid number at the time of the GROUP command, but had expired, or had been canceled, before you issued the STAT command? We can't tell from you example above alone. If you issue the group command again after the the above sequence, and it is still reporting 3146 as the low water mark, then we know that it's not doing as good of a job as it could be. However, there is no strict requirement (in my view of practical issues) that the low water mark actually be the first valid article in the group. In today's distributed servers, it's actually quite a lot of work to get the low water mark synchronized in near real time to the articles being expired on the spool servers. Some systems just don't attempt to do it in real time and instead, update the low water marks as a periodic batch job (that might run even less than once a day). It takes a lot of IO to accurately track the low water mark with the expiration of the articles in a distributed systems and many have simply stopped trying in order to reduce that load. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Technical Details
Message-ID:
<20091022170403.918$Nb@newsreader.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!megatron.dk.telia.net!news.astraweb.com!border5.a.newsrouter.astraweb.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mailReferences:
<hbqf5h$tkt$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <20091022170403.918$Nb@newsreader.com>
Subject: Re: First article after a GROUP selection
Date: Thu, 22 Oct 2009 21:10:05 +0000
From: curt@kcwc.com (Curt Welch)
References: <hbqf5h$tkt$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!megatron.dk.telia.net!news.astraweb.com!border5.a.newsrouter.astraweb.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com rpo@MFGujXqjcKBuHuV3zN-SY@5FkanrGaLiFV_s=b4yFU
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 67
NNTP-Posting-Host: 15ea14c0.nr5-q1.newsreader.com
X-Trace: DXC=T0SPO\o0?GH8GUEl4MNb^AbgZaH`e<A[IZ?:i9<JJBSNXNU6M?@=LCAiJ;
iV2YAoGEGBE[b`8c?I@0W<3ZTmHc]M
X-Complaints-To: abuse@newsreader.com