Re: Yarn 0.91 expire -r bug
Mark Weinstock (woody@ritz.mordor.com)
Fri, 28 Jun 1996 11:38:48 -0500
In article <wA40xAgWxoZb089yn@netcom.com>,
dmeade@netcom.com (David Meade) spake thusly:
>I have found a bug in the expire process in Yarn/2 0.91. I am e-mailing
>this to Chin Huang in addition to posting it on the listserv.
>
>I just converted from 0.89 to 0.91 last night and have restored back
>to 0.89 this afternoon.
>
>I almost almost always run the "expire -r" process to clean up the
>database, I check the totals at the end, and then check the directories
>for the actual number of bytes deleted (usually more since other files
>are affected besides the news files) and log the count.
>
>The two expire -r's on 0.91 gave me:
>
> articles expire bytes actual bytes
> deleted reported deleted deleted
>
>run a - 0.91 22,000 53,000,000 11,500,000
>run b - 0.91 9,500 27,800,000 5,500,000
>
>I then regressed back to 0.89, reimported the 3 soup packets since
>the upgrade (but hadn't reread all of the same articles) and ran an
>expire -r and got:
>
>run a - 0.89 16,000 40,500,000 49,300,000
>
>For me, this lack of space reclaimation is a problem.
>
>I also had a couple of sys3175's in yarn.exe but I was unable to
>screen print the registers (sorry). These always seemed to occur when
>I had finished marking articles as read (via a K) in the article
>selection level and was returning to the newsgroup selection level.
>These were generally heavily crossposted newsgroups.
I'm sure someone will correct me if I'm wrong, but...
It's a known problem, and has to do with the single new.dat file,and the
way articles are stored. If you get articles a1 through a10 on monday, then
b1-b5 on Tuesday, but only read (and expire) a6-a10 on Monday before you
import Tuesday's news, you'll end up with a message base that looks like
this:
Moday after import:
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
Read and expire A6-A10:
A1
A2
A3
A4
A5
Import Tuesday's news:
A1
A2
A3
A4
A5
B1
B2
B3
B4
B5
Then read and expire A3, A4, A5, B2, and B3:
A1
A2
B1
B4
B5
The file is not compacted until you read B1, B4 and B5 and expire them.
>
>Thanks,
>
>David
>
>--
> David Meade Internet=dmeade@netcom.com
> Oakland, CA dmeade@slip.net
>
--
Mark woody@ritz.mordor.com mw4j@andrew.cmu.edu
******************************************************************
Created using Yarn version 0.91 on Jun 28, 1996
Additional effects by YES version 0.22
******************************************************************