Article View: news.software.nntp
Article #61991Re: ARTICLE by artno vs msgid
From: Curt Welch
Date: Fri, 15 Nov 2002 16:47
Date: Fri, 15 Nov 2002 16:47
87 lines
5710 bytes
5710 bytes
xnews@newsguy.com wrote: > curt@kcwc.com (Curt Welch) wrote in > news:20021113231223.294$BY@newsreader.com... > > > Another possible option is to do xhdr <message-id> on the other > > servers and build your own mapping of message-id to article number > > and then fetch by article number on the second. xhdr will be a lot > > faster than having to do a full xover on the others but less likely > > to run into the type of problems you are seeing. > > > > Thanks. But if ARTICLE <msgid> fails, wouldn't XHDR <msgid> fail also? > Or are they using different files? Sorry, what I was thinking and what I typed was not the same. I might have confused you. I meant to say, "use: XHDR Message-ID art-range". So you use XHDR to do a bulk dump of all the message-ids in the group. That will normally work even if lookup by message-id is not working. If you try to use xhdr by message-id, such as: XHDR From <some-message-id> That will fail just like an ARTICLE <some-message-id> fails. > Another question, if you don't mind: are articles expired globally, i.e., > there's no chance that an article can be expired in one group but still > retrievable from a xposted group using ARTICLE <artno>, right? On most servers today that's the case, and it's probably ok for you to assume that in your newsreader code, but there are always exceptions. I think it's safe for you to just assume that if the aricle expired from one group you shouldn't waste any time checking the other groups and just assume it's gone from those as well. That will be the "norm". Since the begining of time, people have had problems making news servers keep up with the load - either too many users, and/or too much news volume. And when things stop working, people do whatever they can come up with to make it work again. And many times, these "hacks" will cause unexpected results from the client's perspective. And sometimes that means aritcles vanish from one group but can still be found in another. For example, long ago, the basic way to store articles was to create a directory for each newsgroup hierarchy, and each article was stored as a file where the name of the file was the article number. Cross posted articles were not stored as multiple files because they used Unix hard-links (a special feature of Unix file systems you don't find elsewhere) to make all the directory entries point to only one file on the disk. The expire program would run once a night and scan every newsgroup, one at a time, and figure out which articles needed to be removed. On Unix, if you remove one of the links to a file, the file does not get removed. It's only when the last link has been removed. So it was natural for the expire program to remove the file from some groups, but leave it in others if the expire configuration allowed for longer retnetion in some of the cross-posted groups than others. But, there were also options to have it remove all links if any one link was removed - and it was common to do it that way. Today, most article storage systems make their expire decisions based on the article, and not by the newsgroup, so once the system decideds it is time to remove the article, it's gone for good and can't be referenced by any of it's names even if something else is broken, like XOVER, and is still reporting that the article exists in some group. But, there are sites that are running multiple back-end servers which have articles distrbuted by newsgroup (*mp3* is on server A, *warze* on B, everything else is on server C, etc.). They then have front-end servers which make proxy connections to the back end servers based on which newsgroup you are trying to access. Any articles cross posted to groups that are split across servers will end up being stored on multiple servers, and they will end up being expired at different times. So this is another case where it is possible (though not at all common) for a cross posted article to expire from one group, but not the other. Even on that type of configuration, the groups assigned to each back-end server will be selected to minimize cross-post problems, so you will have to do something like cross post an article from an mp3 group and a text group before you will actaully see the expire effect happen. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021115114700.981$5F@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<Xns92C573E90584luutrangeocities@192.216.136.216> <20021113152940.724$XM@newsreader.com> <Xns92C5BC98A762Dluutrangeocities@192.216.136.216> <20021113231223.294$BY@newsreader.com> <Xns92C6A370E3E5Fluutrangeocities@192.216.136.222>Show Full Headers
Complete Article Headers
Message-ID: <20021115114700.981$5F@newsreader.com>
Subject: Re: ARTICLE by artno vs msgid
Date: Fri, 15 Nov 2002 16:47:01 +0000
From: curt@kcwc.com (Curt Welch)
References: <Xns92C573E90584luutrangeocities@192.216.136.216> <20021113152940.724$XM@newsreader.com> <Xns92C5BC98A762Dluutrangeocities@192.216.136.216> <20021113231223.294$BY@newsreader.com> <Xns92C6A370E3E5Fluutrangeocities@192.216.136.222>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com CQ8vU1k_/0afvthQ9rUgqU_QPv_6/geCZ+fcfRAl+fgZuWcC
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: 86