Article View: news.software.nntp
Article #34902[bugdescription] Re: expiry with cycbuff
From: Oezguer Kesim
Date: Wed, 20 Jan 1999 00:00
Date: Wed, 20 Jan 1999 00:00
58 lines
3459 bytes
3459 bytes
chad_dressler@my-dejanews.com <chad_dressler@my-dejanews.com> wrote: > From what I've read (and I could definitely be wrong) I believe that when > using cycbuffs, the overview entries are automatically expired when a cycbuff > rolls over (expires) the article itself. This is definitly _not_ the case at our site. Even worse, it happens to be that in the overview _and_ the history there exist entries of articles which are already expired in cnfs (better: overwritten) but start at the same position (offset) as a newer one. So, you see a article header of some article in your reader, but if you want to get the article, you'll get a newer one at the same position in the cyclebuffer. A deeper explanation of the phenomenon (at our site) follows. Consider the following messages given by the following message-id's: <74j950$jpc$2@n.ruf.uni-freiburg.de> and <77dreq$h2a$1@news02.btx.dtag.de> The first one is about three weeks older as the second one. Both groups they are belonging to are stored in the same cyclebuffer. Now, in the uniover/overview, you can find _both_ headers. In the history, you will find two entries -- one (hash, token)-pair for each message-id. The tokens differ in the last part, but not in the _offsets_: msid : <77dreq$h2a$1@news02.btx.dtag.de> hash : 1826D3F56D373A1BB621AE1323FC49A5 token : @0302425546463033000000165348000000050300032D50EB00C60000@ offset : 2ca69000 msid : <74j950$jpc$2@n.ruf.uni-freiburg.de> hash : F2425A962B880BFE1790D8F80F5C46A8 token : @03024255464630330000001653480000000503000003012302170000@ offset : 2ca69000 So, we'll get the same article (namely the never one) twice, whereas one corresponds to a incorrect (better: expired) header.[1] As far as I checked the source, the cnfs-interface _should_ recognize, that the first token corresponds to a overwritten article, since the cycnum of the token differ from the corresponding value of the cyclebuffer itself. This (missing) behaviour would give a client the result 'article <74j950$jpc$2@n.ruf.uni-freiburg.de> not available', which would at least be a necessary behaviour of the newsserver. I'm currently bussy with analyzing/fixing this problem -- hope to get it done until weekend. cheers, oec [1] In fact, if you lseek() to that offset and read a while, you'll find some `tail' of the overwritten article (the part after ^\. of the article but before the next block in the cyclebuffer begins), which exactly belongs to the older article (checked against different other newsservers).
Technical Details
Message-ID:
<slrn7ac3ol.9o.oec-news@kutta.math.fu-berlin.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:
<36A4CCD7.5D1F0291@netfront.net> <78505j$euj$1@nnrp1.dejanews.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn7ac3ol.9o.oec-news@kutta.math.fu-berlin.de> Subject: [bugdescription] Re: expiry with cycbuff Date: Wed, 20 Jan 1999 00:00:00 +0000 From: oec-news@kesim.dialup.fu-berlin.de (Oezguer Kesim) References: <36A4CCD7.5D1F0291@netfront.net> <78505j$euj$1@nnrp1.dejanews.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: 434873620 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-Trace: fu-berlin.de 916852502 15027 kesim 160.45.40.166 Organization: Freie Universitaet Berlin X-Access: 16 17 19 Mime-Version: 1.0 Reply-To: oec-news@kesim.dialup.fu-berlin.de Newsgroups: news.software.nntp NNTP-Posting-User: kesim