🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59557

Re: Duplicate message IDs -- handling by common servers

#59557
From: Curt Welch
Date: Sun, 14 Jul 2002 02:36
51 lines
3635 bytes
Martin Kotulla <mk999@gmx.de> wrote:
> Duplicate message IDs should not happen, however they are a fact of
> life. How do the major NNTP servers (INN, DNews, Typhoon, Cyclone,
> Diablo) handle messages with duplicate Message-IDs?

As already pointed out, servers reject duplicates so it's mostly
impossible to have them.  However, servers have bugs or configuration
problems where this can happen.

A common problem on the Highwind servers is that the size of the history
file must be configued by hand.  If it's too small, then information about
older articles are expired before the article is removed from the
spool.  Once that happens, you can no longer retreive the article by
Message-Id but you can still retreive it by article number.  But, the other
bug is that these servers might also accept a second copy of the same
article if it's offered after the history expires.  Normally, this
shouldn't happen but it does in fact happen on a regular basis (i.e. old
copies of news gets re-circulated because of errors and because of short
retention and history on transit servers).

If that happens on a box you are trying to read news from, there may be two
copies of the same article in the same group with different numbers
assigned to them.  You may think you are reading article 1000 when you ask
by Message-ID, and you may get a copy of the article, but the copy you get
is actually for article 1100.  The only real problem there is that the
Xref: will show it as article 1100 and that may confuse your software.  If
that is not a problem, then it's not really important which article you
get.

> Can I be _absolutely_ 100% sure that _none_ of them can have two
> different messages with the same Message-ID in their spool at the same
> time? i.e., can I safely always replace ARTICLE n by ARTICLE mid?

99.9% of the time, using mid lookup will work fine.  The most common
problem will simply be an issue of not being able to retreive some of the
oldest articles.

> Does retrieving by Message-ID on today's servers incur a performance
> penalty as opposed to retrieving by article number?

You wouldn't expect it to be much worse than by number.  But, if any server
worked better with one than the other, you would expect it to work better
using number lookup.

So, switching to mid lookup will generaly work fine, but if you wanted the
best system, you should stick with using article numbers.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020713223603.039$Vn@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!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!news-xfer.siscom.net!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <3D303E15.90700@gmx.de>

Show Full Headers
Complete Article Headers
Message-ID: <20020713223603.039$Vn@newsreader.com>
Subject: Re: Duplicate message IDs -- handling by common servers
Date: Sun, 14 Jul 2002 02:36:03 +0000
From: curt@kcwc.com (Curt Welch)
References: <3D303E15.90700@gmx.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!news-xfer.siscom.net!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com D5wII/=E=Akby/XJ,o6ujycmRzY=czD5x-Ylpfw8_o.uh-2ne
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: 50