Article View: news.software.nntp
Article #7576Re: expire performance enhancement
From: T. William Wells
Date: Tue, 14 May 1996 00:00
Date: Tue, 14 May 1996 00:00
45 lines
2431 bytes
2431 bytes
In article <4n8oib$4hc@news.ims.mariposa.ca.us>, Mike Bird <mgb@ims.mariposa.ca.us> wrote: : A patch was posted here a couple of weeks ago to implement an X flag : in expire.ctl to signify that an article should be removed from all : cross-posts when it expires in the flagged group. : : The patch seems to have two problems: : : (1) A minor typo causes postings of an article to be removed based on : the expiration of the first posting only. Oops! For those using the original patch, see the second line of the for loop that is supposed to recreate the entry; change the flags[0] to flags[i]. The effect of this error: the entire entry is expired if and only if the first newsgroup gets expired. If you're not using expire -l this is a big lose; the first article goes away and they all go away. If you're using -l, this has a lesser effect; an article doesn't get expired from any newsgroup until it gets expired from all of them. Unless there's an X flag floating around; in that case, they all get expired when the first one does. : (2) Removal of some "shouldn't happen" (but apparently necessary) code : results in lots of "Bad Entry" messages during subsequent expires. We : haven't figured out the exact circumstances under which this occurs. Weird. I never see them. : (This patch is smaller than the original because it is : closer to the original logic of expire.) I prefer my logic, as it's a whole lot clearer and also separates out the decision about what to keep from the construction of the new history entry. : closer to the original logic of expire.) (We originally used the : P=Poison flag but have changed to X for compatibility with the : previous patch.) *Chuckle*. I like your P name *much* better than my X (for X-post) name.
Technical Details
Message-ID:
<DrEMxr.CGz@twwells.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-mailReferences:
<Dqp091.7q3@twwells.com> <4m6tue$5rp@sunrise.gv.ssi1.com> <DqrFKK.DCr@twwells.com> <4n8oib$4hc@news.ims.mariposa.ca.us>Show Full Headers
Complete Article Headers
Message-ID: <DrEMxr.CGz@twwells.com> Subject: Re: expire performance enhancement Date: Tue, 14 May 1996 00:00:00 +0000 From: bill@twwells.com (T. William Wells) References: <Dqp091.7q3@twwells.com> <4m6tue$5rp@sunrise.gv.ssi1.com> <DqrFKK.DCr@twwells.com> <4n8oib$4hc@news.ims.mariposa.ca.us> 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: 154783204 Organization: None, Mt. Laurel, NJ Newsgroups: news.software.nntp