Thread View: news.software.nntp
2 messages
2 total messages
Started by cengiz
Mon, 07 Jun 1999 00:00
Re: makehistory finds HALF the articles
Author: cengiz
Date: Mon, 07 Jun 1999 00:00
Date: Mon, 07 Jun 1999 00:00
27 lines
1964 bytes
1964 bytes
In a previous article, <gerg@shell1.ncal.verio.com> writes:
>On a stardard filesystem, you'd then run a find every night to delete
>the article files that were missed by expire because they weren't in
>the restored history file. After a few days the history database
>would be back in sync with the contents of the spool.
But if you restore an old history file and do that, then you would
delete the articles that are NEWER than the history file you restored,
if I understand you right.
>What happens when the history database doesn't have some portion
>of the articles in the spool (like 6-8%)?
I dunno. And don't much care, since makehistory scans the spool to build
the history database. The whole problem is that it was ignoring large
chunks of the spool. And since the guts of CNFS are so meticulously
undocumented, I'll never know which ones, or how, or why.
Thanks,
Cengiz
----- Posted via NewsOne.Net: Free Usenet News via the Web -----
----- http://newsone.net/ -- Discussions on every subject. -----
NewsOne.Net prohibits users from posting spam. If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse@newsone.net
Re: makehistory finds HALF the articles
Author: Greg Andrews
Date: Mon, 07 Jun 1999 00:00
Date: Mon, 07 Jun 1999 00:00
55 lines
2993 bytes
2993 bytes
cengiz@netmar.com writes: >In a previous article, <gerg@shell1.ncal.verio.com> writes: >>On a stardard filesystem, you'd then run a find every night to delete >>the article files that were missed by expire because they weren't in >>the restored history file. After a few days the history database >>would be back in sync with the contents of the spool. > >But if you restore an old history file and do that, then you would >delete the articles that are NEWER than the history file you restored, >if I understand you right. > Remember that I was describing a standard spool filesystem, not a CNFS filesystem. For standard spool filesystems, it definitely doesn't erase the articles. The articles are still in the groups, they're still visible to your users, they're still accounted for in the group's high-water number in the active file (or they will be after a 20-40 minute renumber), and their threading info is still in the group's overview data. Only two things happen when those recent articles go missing from the history database: (a) duplicate articles aren't rejected if they come in through a redundant feed, and (b) the normal expire won't delete them. (a) can be taken care of by communicating with your users about the failure that corrupted your history database and telling them that they may see some duplicate articles for a few days. (b) is taken care of by the extra find processes that I mentioned in my original post. The alternative, as you pointed out, is that makehistory takes *days* to rebuild the database from the spool. That's the tradeoff. Be back running in under 3 hours with some glitches in duplicate rejection and expiration, or be off-line for several days with a feed that's backlogged just as long? [re CNFS] >>What happens when the history database doesn't have some portion >>of the articles in the spool (like 6-8%)? > >I dunno. And don't much care, since makehistory scans the spool to build >the history database. > Actually, if makehistory -ri can be used on a CNFS spool the way I've used it on a standard spool, you do care. You care about the difference between being down 3 hours and being down 14 days (350 hours), don't you? -Greg
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads