Re: ietf-nntp Backfill
Chris Hall <chris.hall@turnpike.com> Wed, 18 December 1996 20:18 UTC
Received: from cnri by ietf.org id aa07636; 18 Dec 96 15:18 EST
Received: from ACADEM2.ACADEM.COM by CNRI.Reston.VA.US id aa23002;
18 Dec 96 15:18 EST
Received: (from majordomo@localhost) by academ2.academ.com (8.8.3/8.7.3) id
OAA10482 for ietf-nntp-outgoing; Wed, 18 Dec 1996 14:14:42 -0600 (CST)
X-Authentication-Warning: academ2.academ.com: majordomo set sender to
owner-ietf-nntp using -f
Received: from academ.com (root@ACADEM.COM [198.137.249.2]) by
academ2.academ.com (8.8.3/8.7.3) with ESMTP id OAA10477 for
<ietf-nntp@ACADEM2.ACADEM.COM>; Wed, 18 Dec 1996 14:14:40 -0600 (CST)
Received: from office.demon.net (office.demon.net [193.195.224.1]) by
academ.com (8.8.3/8.7.1) with SMTP id OAA02748 for <ietf-nntp@academ.com>;
Wed, 18 Dec 1996 14:14:36 -0600 (CST)
Received: from pillar.turnpike.com ([194.70.55.2]) by office.demon.net
id aa29928; 18 Dec 96 20:12 GMT
Message-ID: <K2QNyJBdAFuygAq9@turnpike.com>
Date: Wed, 18 Dec 1996 20:12:13 +0000
To: ietf-nntp@academ.com
From: Chris Hall <chris.hall@turnpike.com>
Subject: Re: ietf-nntp Backfill
In-Reply-To: <3.0.32.19961218122955.00685434@lacroix>
MIME-Version: 1.0
X-Mailer: Turnpike Version 3.02 <U2yaxlNz9m7tpk5wwwfqeW1so7>
Sender: owner-ietf-nntp@academ.com
Precedence: bulk
In article <3.0.32.19961218122955.00685434@lacroix>, Jack De Winter <jack@wildbear.on.ca> writes >At 04:01 PM 12/18/96 +0000, Clive D.W. Feather wrote: >>Mark Sidell said: >>> Anyway, as far as I know, demon's is the only server that backfills. >>> But, perhaps Clive could provide more information. >>I am told that the Demon server no longer backfills; the cause of this >>behaviour has been fixed. I can't comment on the LISTGROUPS issue you >>mention. >I know one question of mine has always been: > >if a server is supposed to be monotonically increasing and the base >is reset (say at the beginning of the new year as was done at my >university), should we make sure that we put wording into the spec >that all of the articles in any group that is reset must be renumbered? > >Otherwise you will have: 1-X (new articles) and Y-N(old articles yet >to expire) and essentially will have a range of 1-N. Yers. And it would look just as if you were backfilling :-). No question, the articles need to be renumbered *and* the original ordering should be maintained. Moreover, if clients are not to be baffled, this would have to be done while no one was connected to the server ! Assuming a client that remembers the state of the newsgroups being read... The simple way to code the client is to remember the ordinal for the highest numbered article it has fetched. When it asks about the newsgroup the client checks that what it last fetched is between the current min and max -- then it can ask either for last fetched to current max, or for current min to current max. This can be defeated if the server resets its numbering, but the new range overlaps the last fetched ordinal ! Moreover, fetching from current min to current max is in danger of refetching articles which have already been expired from the client's machine :-(. Steps need to be taken to avoid this.... Better is to get the client to remember the ordinals and the article ids for the last 'n' articles it fetched. Then it can check that one or more of the 'n' articles have the same ordinals as last time. If the client finds that the articles have been renumbered, it can try to "resync" by trying to find the new ordinals for one or more of the 'n' articles. If that doesn't work, it's time to give up and whinge at the user about the unreliability of servers. Note that this assumes that the renumbering maintains the original ordering ! This mechanism, implemented with a little latitude, can cope quite well with changes from one news server to another, provided the ordering of articles is generally the same between the servers. >ideas? Because everyone knows that servers do reset their numbering, clients have to adopt strategies to cope. It's not pretty, so resetting numbering should be deprecated. Where unavoidable the new range should be (a) well removed from the recent range, and (b) maintain the previous ordering [though I confess I can see that might be "tricky" if the server's news store has to be rebuilt after some catastrophe !] In a perfect world a unique id would be attached to a given numbering. Something like: -> GROUP news.ahha <- 211 1234 123456 125678 news.ahha ABCDE19961218124256.00 So the client can spot a change in the numbering by checking its id. A complete change in ordering could be signalled by a completely new id. A simple change in the origin could be signalled by a change in just the part after the '.'. Ah well. Back to the old heuristics.... -- Chris Hall
- ietf-nntp Backfill Clive D.W. Feather
- Re: ietf-nntp Backfill Jon Ribbens
- Re: ietf-nntp Backfill Rich Salz
- Re: ietf-nntp Backfill Richard Clayton
- Re: ietf-nntp Backfill Clive D.W. Feather
- Re: ietf-nntp Backfill Clive D.W. Feather
- Re: ietf-nntp Backfill Nat Ballou
- Re: ietf-nntp Backfill Brian Kantor
- Re: ietf-nntp Backfill markd
- Re: ietf-nntp Backfill Rich Salz
- Re: ietf-nntp Backfill Stan Barber
- Re: ietf-nntp Backfill USENET news manager
- Re: ietf-nntp Backfill Chrisy Luke
- Re: ietf-nntp Backfill Taz Higgins
- Re: ietf-nntp Backfill Nat Ballou
- Re: ietf-nntp Backfill Chris Lewis
- Re: ietf-nntp Backfill Chris Caputo
- article numbers (was Re: ietf-nntp Backfill) Chris Newman
- Re: ietf-nntp Backfill Brian Kantor
- Re: ietf-nntp Backfill Chris Newman
- Re: ietf-nntp Backfill Clive D.W. Feather
- Re: ietf-nntp Backfill Clive D.W. Feather
- Re: ietf-nntp Backfill Clive D.W. Feather
- Re: ietf-nntp Backfill Jack De Winter
- Re: ietf-nntp Backfill Chris Hall
- Re: ietf-nntp Backfill Mark Sidell
- Re: ietf-nntp Backfill Alan Barrett