Article View: news.software.nntp
Article #81405Q: Regarding overview creation and the active file.
From: D. Stussy
Date: Tue, 16 Jun 2009 01:10
Date: Tue, 16 Jun 2009 01:10
22 lines
2128 bytes
2128 bytes
In file: storage/tradindexed/tdx-group.c, routine hashmap_load()
I note that in the while-loop, we read EVERY entry from the active file and
create a hash for it. As this is to determine OVERVIEW data, I question
whether we need to do this. Should we SKIP entries marked "j", "x", and
"=" because those "groups" will always be EMPTY ("j" will file in "junk",
"x" will be rejected, and "=" will file in the alias group). Only groups
marked with "m", "n", and "y" will be non-empty. (I note that groups
marked with "j", "x", or "=" or which were previously removed may have
residual overview data). Is it this loop that effectively causes "empty"
overview files to be created?
Or is it the loop in index_audit_active() that causes this?
I recognize that nnrpd may need empty overview files to know that a group
exists, but when a group is declared as "j", "x", or "=", does it "really"
exist (for this purpose)?
So, is this the code I need to mess with to prevent empty traditional
overview files from being created for these "non-groups?"
Technical Details
Message-ID:
<h16rde$stb$1@snarked.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news-xfer.nntp.sonic.net!news.snarked.org!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <h16rde$stb$1@snarked.org> Subject: Q: Regarding overview creation and the active file. Date: Mon, 15 Jun 2009 18:10:41 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news-xfer.nntp.sonic.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 22 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1245114606 29611 71.106.211.188 (16 Jun 2009 01:10:06 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Tue, 16 Jun 2009 01:10:06 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478