Article View: news.software.nntp
Article #53642Re: overview rebuild problem
From: Russ Allbery
Date: Fri, 03 Aug 2001 22:04
Date: Fri, 03 Aug 2001 22:04
38 lines
2812 bytes
2812 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes:
> rra@stanford.edu wrote:
>> I think it should. makehistory needs to be a lot smarter than it is
>> right now.
> Do you have any idea about why it fails on my setup? I'd like to debug
> it and fix it, but I have no idea about why it skips older articles.
The key function is tradspool_next() in storage/tradspool/tradspool.c. In
particular, take a look at the code surrounding the following comment:
/* Skip linked (not symlinked) crossposted articles.
This algorithm is rather questionable; it only works if the first
group/number combination listed in the Xref header is the
canonical path. This will always be true for spools created by
this implementation, but for traditional INN 1.x servers,
articles are expired indepedently from each group and may expire
out of the first listed newsgroup before other groups. This
algorithm will orphan such articles, not adding them to history.
The bit of skipping articles by setting the length of the article
to zero is also rather suspect, and I'm not sure what
implications that might have for the callers of SMnext.
Basically, this whole area really needs to be rethought. */
I think there are more problems than just that, but I haven't been able to
work through what's going on well enough to figure out why other articles
also get skipped.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylae1g94wd.fsf@windlord.stanford.edu>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!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<0t3b6557fei71en3e9%md@wonderland.linux.it> <9k9ut5$sqk$1@news-int.gatech.edu> <1t3b689edaif8en3e9%md@wonderland.linux.it> <yl7kwmymy6.fsf@windlord.stanford.edu> <0t3b6a5b87i556n3e9%md@wonderland.linux.it>Show Full Headers
Complete Article Headers
Message-ID: <ylae1g94wd.fsf@windlord.stanford.edu> Subject: Re: overview rebuild problem Date: Fri, 03 Aug 2001 22:04:34 +0000 From: Russ Allbery <rra@stanford.edu> References: <0t3b6557fei71en3e9%md@wonderland.linux.it> <9k9ut5$sqk$1@news-int.gatech.edu> <1t3b689edaif8en3e9%md@wonderland.linux.it> <yl7kwmymy6.fsf@windlord.stanford.edu> <0t3b6a5b87i556n3e9%md@wonderland.linux.it> 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!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 37 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 996876274 5959 171.64.13.23 (3 Aug 2001 22:04:34 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)