Article View: news.software.nntp
Article #6380Re: cyclic news file system - two interesting quirks
From: Mark Turner
Date: Sun, 07 Apr 1996 00:00
Date: Sun, 07 Apr 1996 00:00
64 lines
3330 bytes
3330 bytes
In article <4k78u1$lbu@bushwire.mira.net.au>,
Mark Delany <markd@mira.net.au> wrote:
>
> I don't know for sure, but in practice does lownum really need to be
> accurate for all NNTP commands or only a subset?
>
> If lownum only needs to be accurate when the NOV data is also
> required, then that's easy. On the other hand, if it has to be
> accurate for most, or all group related NNTP commands then I'm *very*
> interested in ideas on how to efficiently determine lownum in a cycle
> news file system as it's pretty much the only unresolved aspect of the
> implementation (that I know of).
Maybe you've already read the following but I'll include them here in
case not....
1) From INN's active(5) man page where it talks about the fields in the
active file:
"The third field is the lowest article number in the group; this
number is not guaranteed to be accurate, and should only be taken
to be a hint."
2) From RFC977 section 3.2.1 where it talks about the data returned by
the "group" command:
"The successful selection response will return the article numbers
of the first and last articles in the group, and an estimate of
the number of articles on file in the group. It is not necessary
that the estimate be correct, although that is helpful; it must
only be equal to or larger than the actual number of articles on
file. (Some implementations will actually count the number of
articles on file. Others will just subtract first article number
from last to get an estimate.)"
Number 1 states that INN will not always return the true low water mark
and number 2 sort of implies that at least the difference between low
and high should not be taken as the number of articles. It could be
argued that RFC977 does not allow INN to return an incorrent low water
mark, but in practice I doubt very much whether there are many (any?)
news readers out there that would fall over if they encountered a dodgy
low water mark.
Consider also that an expire could remove articles from the "low" end of
a group and update the active file's low water mark between a reader
issuing a "group" command and it subsequently issuing an "article"
command for the lowest article.
I think it is reasonable to expect a news reader to be able to cope with
one or more articles missing at the "low" end of a group whether or not
the active file or a group command says they should be there.
Cheers,
Mark.
--
UnipalmPIPEX, 216 The Science Park, Cambridge, UK Work: markt@pipex.net
Phone: +44 1223-250120, Fax: +44 1223-250121 Play: mark@kram.org
UKUU: mark@kram.ukuu.org.uk
Fidonet: 2:2504/100.10 or 2:254/153.15
Technical Details
Message-ID:
<4k7s42$13i@clio.kram.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!not-for-mailReferences:
<4k78u1$lbu@bushwire.mira.net.au>Show Full Headers
Complete Article Headers
Message-ID: <4k7s42$13i@clio.kram.org> Subject: Re: cyclic news file system - two interesting quirks Date: Sun, 07 Apr 1996 00:00:00 +0000 From: mark@kram.org (Mark Turner) References: <4k78u1$lbu@bushwire.mira.net.au> 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!not-for-mail X-Deja-AN: 146199331 Organization: Kram Newsgroups: news.software.nntp