Article View: news.software.nntp
Article #32108stale overview data [was Re: Diablo 1.18-REL available]
From: Thomas Neumann
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
100 lines
5033 bytes
5033 bytes
[ note: subject changed to be more on-topic ] curt@kcwc.com (Curt Welch) writes: > dillon@best.net (Matt Dillon) wrote: > > > > I don't think it is possible to 'fix' this. I think nntp clients > > have to deal with the fact that 'listgroup' and other commands might > > return article numbers that wind up being nonexistant. > Well I agree that newsreaders have to deal with that potential - it can't > be avoided. The article in question might have been cancled or expired > between the time the newsreader did the listgroup and the article command. > > But, if you accept spam cancels, then in many groups, you end up with very > large numbers of the articles being missing (as high as 50% sometimes). Sure, but that's not really a problem, because the fact that an article got cancelled is marked in the history entry for that article (at least w/ INN, don't know what diablo does). When INN cosults the overview data for a group to create the respective information to send to the newsreader, it can make sure that the newsreader does not get overview information for cancelled articles just by looking at the history--which is a (relatively) cheap operation. The more serious problem arises when overview data and article spool get out of sync. This could not happen with older version of INN using the classic spool because expiration of articles and overview data happened in one swoop during news.daily. With newer versions of INN using the CNFS Storagi API method and (I guess) with diablo articles can disappear by other means than a planned expire, namely by being overwritten or aging out of the spool. The fact that an article suddenly disappears from the spool like that is not propagated to the overview subsystem, so stale overview data hangs around (and will be presented to newsreaders) as long as the next news.daily run re-syncs the overview data to the actual article spool, which can at worst be a full day later. One can think of ways how to fix this for INN-2.x, but with diablo's remote spools it is indeed close to impossible for the event of an article disappearing for an arbitrary spool to be propagated to the frontend reader so that it can adjust it's overview information accordingly. > Or they can set up > a front-end machine which accepts the cancels and does a delayed feed > to the "reader" machine which gets the same result but solves the "ton > of holes" problem for the reader machine. These (especially the filter > only option) might be the best way to go. This is good practice indeed, but see below, cancels are not the main problem in the case we're talking about. > But it seems to me that the server should be able to fix this as well. > In the case of INN 2.0 with the storage API, couldn't something be > done to remember what was canceled? As I mentioned above cancels are already recorded in the history. > I understand that it's too expensive > to go back and update the overview info every time something is > canceled. But what if you just built a seperate list of the article > numbers that were canceled (for each group)? I would see this as a file > in the overview hierarch next to .oviewview.index file (something like > a .cancel.list file). Yes, I was thinking of this as well. For INN-2.x it should be possible to recognize the event that an article is about to be overwritten by a new one in the CNFS spool. We could than, prior to nuking the old article, add relevant information for the old article to a list of ``dead articles''. When overview data is generated for newsreaders, INN could check the list of dead articles to see if the article is already gone. Problem is, I'm not that sure if this will be any faster than just using the spool itself as your list of dead (or rather not dead) articles and simply go and check the spool to see if the article is still there, which is exactly what INN does now iff "nnrpdcheckart: true" is in your inn.conf. A separate list of dead articles is yet another database to maintain and adds complexity but may not buy us much. > I don't know enough about how Diablo's reader code is working to know > if something like this is even an option there... Me neither, but remote spools in itself make this hard. Matt, what do you think? -t
Technical Details
Message-ID:
<87lnmqunu2.fsf_-_@smart.ruhr.de>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:
<6vhjml$oqb$1@flea.best.net> <86k92b9xtv.fsf@sucks.tmr.net> <6vj1rn$aqs$1@flea.best.net> <19981009012105.852$Sd@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <87lnmqunu2.fsf_-_@smart.ruhr.de> Subject: stale overview data [was Re: Diablo 1.18-REL available] Date: Fri, 09 Oct 1998 00:00:00 +0000 From: Thomas Neumann <tom@smart.ruhr.de> References: <6vhjml$oqb$1@flea.best.net> <86k92b9xtv.fsf@sucks.tmr.net> <6vj1rn$aqs$1@flea.best.net> <19981009012105.852$Sd@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.mbox.zip!not-for-mail X-Deja-AN: 399293891 Organization: Ruhr.DE Newsgroups: news.software.nntp