Article View: news.software.nn
Article #4720nnmaster adding ignore flags to GROUPS file by itself
From: Andy Burgess
Date: Tue, 31 Aug 1993 16:58
Date: Tue, 31 Aug 1993 16:58
32 lines
2405 bytes
2405 bytes
Here's some odd behavior I noticed while editing the GROUPS file. I edit the file then run nnmaster -G. I do this a few times. At some point when I open the file for editing I see that all the newsgroups have the ignore flag (the exclamation mark) added to them. If I don't manually remove these flags then nnmaster -G will purge the database of all the newsgroups. Naturally I found this out the hard way :-). (it takes about six hours here to rebuild the database for 100K articles) As long as I delete the flags there don't seem to be any other symptoms. I looked at the source code and it looks like these flags are added in db_append_group in db.c whenever a new newsgroup is automatically added if the M_IGNORE_G is set for the group. The two places that I see the M_IGNORE_G bit being set is in db_parse_group when the GROUPS file is being read and in group_restriction in master.c. The latter I am not familar with. I do collect some groups explicitly via nnmaster -u -h 0 <groupname>. Perhaps the groups are marked M_IGNORE_G during this and if a new group is detected the M_IGNORE_G bits are erroneously written to the GROUPS file? This does fit the intermittant nature of the bug. Also I just noticed that the group that I explicitly collect is the one group that does NOT have the (!) flag set in the GROUPS file. Has anyone else ever seen this? I suppose with NOV catching on this may all be moot. Andy -- ============================================================================== Andrew A. Burgess | "Expect five minute delays" CalTrans sign on Hwy 9 aab@cichlid.com | or philosophy of life? voice (408) 335 4779 | ==============================================================================
Technical Details
Message-ID:
<CCMv5s.3zo@cichlid.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!netcomsv!cichlid!aabShow Full Headers
Complete Article Headers
Message-ID: <CCMv5s.3zo@cichlid.com> Subject: nnmaster adding ignore flags to GROUPS file by itself Date: Tue, 31 Aug 1993 16:58:39 GMT From: aab@cichlid.com (Andy Burgess) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!netcomsv!cichlid!aab Newsgroups: news.software.nn Organization: Independent Software Contractor Lines: 32