Thread View: news.software.nntp
9 messages
9 total messages
Started by bill davidsen
Mon, 08 Jan 2001 20:42
Rebuild single group overview?
Author: bill davidsen
Date: Mon, 08 Jan 2001 20:42
Date: Mon, 08 Jan 2001 20:42
20 lines
2030 bytes
2030 bytes
What's the current thinking on rebuild a single group, using 2.3, CNFS, tradindexed ov? I have a single errant article in the ov of one group, and it's causing problems. I'd rather not rebuild the whole thing (understatement, it has 1.2TB storage) on this, and all the tricks I have in my file are somewhat old. This is the first I've seen a problem, and it's an odd one, in that the high article number in group for one group got jumped by about two orders of magnitude, and the article got in the wrong group overview. When the users see four billion unread articles in the group they hesitate to click "download all headers," even though there are less than 50000 online. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc The line from the immutable past to the desired future is useful to justify continuing to tack into the wind, making a major change in course, or coasting into safe harbor. It is not a map of where you are going, just how to get where you want to go.
Re: Rebuild single group overview?
Author: Bettina Fink
Date: Mon, 08 Jan 2001 21:38
Date: Mon, 08 Jan 2001 21:38
27 lines
2042 bytes
2042 bytes
bill davidsen <davidsen@tmr.com> wrote:
> What's the current thinking on rebuild a single group, using 2.3,
> CNFS, tradindexed ov? I have a single errant article in the ov of one
> group, and it's causing problems. I'd rather not rebuild the whole thing
> (understatement, it has 1.2TB storage) on this, and all the tricks I
> have in my file are somewhat old.
I've asked that (rebuilding tradindexed overviews for individual groups,
like it was possible with older inn's expireover -a -f <file_with_groups_
to_recreate>) some time ago on inn-workers:
| } Is it possible with 2.3x to do something similar (I've found
| } nothing appropriate in the makehistory man page)?
|
| Unfortunately no. This is one of drawbacks since storage api
| was incorporated. When recreating overview, there is no way
| to retrieve articles stored in specific newsgroups other than
| scanning whole spool. If it could be done regardless of storage
| method, we could never be bothered by how readers access articles.
(Katsuhiro in <20001231082730Q.kondou@inn.do.mms.mt.nec.co.jp>)
I had some corrupted overview files ("expireover: could not expire <group>"
in news.daily) and ended up erasing and rebuilding the complete overview
tree ...
Re: Rebuild single group overview?
Author: bill davidsen
Date: Tue, 09 Jan 2001 00:14
Date: Tue, 09 Jan 2001 00:14
30 lines
2547 bytes
2547 bytes
In article <93dc0h$ms6$1@krell.zikzak.de>,
Bettina Fink <laura@hydrophil.de> wrote:
| bill davidsen <davidsen@tmr.com> wrote:
|
| > What's the current thinking on rebuild a single group, using 2.3,
| > CNFS, tradindexed ov? I have a single errant article in the ov of one
| > group, and it's causing problems. I'd rather not rebuild the whole thing
| > (understatement, it has 1.2TB storage) on this, and all the tricks I
| > have in my file are somewhat old.
| I had some corrupted overview files ("expireover: could not expire <group>"
| in news.daily) and ended up erasing and rebuilding the complete overview
| tree ...
Well, I'm trying doing a local cancel on the article and hoping the
expireover will dump the entry. Damned if I can see why a program can't
knock the missing or invalid articles out of a single group without
rereading the whole spool. Adding them is another issue, but just a
check to see if the article exists and has an Xref: entry for the
group...
Rebuilding from scratch is not on at the moment.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
The line from the immutable past to the desired future is useful to
justify continuing to tack into the wind, making a major change in
course, or coasting into safe harbor. It is not a map of where you are
going, just how to get where you want to go.
Re: Rebuild single group overview?
Author: Russ Allbery
Date: Tue, 09 Jan 2001 01:19
Date: Tue, 09 Jan 2001 01:19
14 lines
1481 bytes
1481 bytes
bill davidsen <davidsen@tmr.com> writes: > Well, I'm trying doing a local cancel on the article and hoping the > expireover will dump the entry. Damned if I can see why a program can't > knock the missing or invalid articles out of a single group without > rereading the whole spool. The storage API has no concept of groups, unfortunately, but expireover *should* get rid of any lines for articles that are no longer on the spool every time it runs. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: Rebuild single group overview?
Author: bill davidsen
Date: Tue, 09 Jan 2001 18:26
Date: Tue, 09 Jan 2001 18:26
32 lines
2530 bytes
2530 bytes
In article <ylbsthset0.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | bill davidsen <davidsen@tmr.com> writes: | | > Well, I'm trying doing a local cancel on the article and hoping the | > expireover will dump the entry. Damned if I can see why a program can't | > knock the missing or invalid articles out of a single group without | > rereading the whole spool. | | The storage API has no concept of groups, unfortunately, but expireover | *should* get rid of any lines for articles that are no longer on the spool | every time it runs. The article went away, but the GROUP command uses overview and still thinks the highest article in the group is the badly numbered one. There just HAS to be a way to clear that info short of having the machine down long enough to rebuild everything for a TB database... I tried getting rid of the DAT and IDX files for the group, and it still has that info somewhere. Unfortunately digging the file format out of the code and writing a tool will probably take as long as rebuilding everything, and more of my time to do it. Maybe I could just remove the data and feed overchan the info it wants to rebuild the file? I have to look at the format overchan wants to see. -- Bill Davidsen (davidsen@tmr.com) "The secret to procrastination is to put things off until the last possible moment - but no longer" -me
Re: Rebuild single group overview?
Author: Katsuhiro Kondou
Date: Tue, 09 Jan 2001 20:52
Date: Tue, 09 Jan 2001 20:52
22 lines
2004 bytes
2004 bytes
In article <93fl57$7hce$1@newssvr05-en0.news.prodigy.com>, davidsen@tmr.com (bill davidsen) wrote; } I tried getting rid of the DAT and IDX files for the group, and it } still has that info somewhere. Unfortunately digging the file format out Yes, $pathoverview/group.index has it. } Maybe I could just remove the data and feed overchan the info it wants } to rebuild the file? I have to look at the format overchan wants to see. I think following helps you. - rmgroup that group(this also deletes from group.index) by ctlinnd but remember hi/lo mark - stop innd - add rmgroup'ed group with hi/lo mark manually into active - run innd(this also add added group with that hi/lo) -- Katsuhiro Kondou
Re: Rebuild single group overview?
Author: Victor Sudakov
Date: Wed, 10 Jan 2001 02:30
Date: Wed, 10 Jan 2001 02:30
24 lines
2078 bytes
2078 bytes
Katsuhiro Kondou <kondou@isc.org> wrote: > } I tried getting rid of the DAT and IDX files for the group, and it > } still has that info somewhere. Unfortunately digging the file format out > Yes, $pathoverview/group.index has it. > } Maybe I could just remove the data and feed overchan the info it wants > } to rebuild the file? I have to look at the format overchan wants to see. > I think following helps you. > - rmgroup that group(this also deletes from group.index) by ctlinnd > but remember hi/lo mark > - stop innd > - add rmgroup'ed group with hi/lo mark manually into active > - run innd(this also add added group with that hi/lo) Yes but how are you going to recreate the index file? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/149@fidonet http://vas.tomsk.ru/
Re: Rebuild single group overview?
Author: Katsuhiro Kondou
Date: Wed, 10 Jan 2001 16:29
Date: Wed, 10 Jan 2001 16:29
11 lines
1700 bytes
1700 bytes
In article <93ghgp$2dih$3@mpeks.tomsk.su>, Victor Sudakov <sudakov@sibptus.tomsk.ru> wrote; } Yes but how are you going to recreate the index file? I just explained how to fix hi/lo mark. The method of recreating index for just single group is not provided currently. -- Katsuhiro Kondou
Re: Rebuild single group overview?
Author: bill davidsen
Date: Thu, 11 Jan 2001 15:30
Date: Thu, 11 Jan 2001 15:30
31 lines
2490 bytes
2490 bytes
In article <93i2lo$t1e$2@bgsv5905.tk.mesh.ad.jp>, Katsuhiro Kondou <kondou@isc.org> wrote: | In article <93ghgp$2dih$3@mpeks.tomsk.su>, | Victor Sudakov <sudakov@sibptus.tomsk.ru> wrote; | | } Yes but how are you going to recreate the index file? | | I just explained how to fix hi/lo mark. The method of | recreating index for just single group is not provided | currently. Fixing the hi/lo is not an issue, I can just delete the group and recreate it. Since this is an xref slave the numbers will always be right. However, after doing that, and checking that nnrpd was returning "no such group" after the group was removed, when I recreated it nnrpd still reports the same wrong data! I'm no longer sure that rebuilding from scratch is going to fix it, that's the next try. Recreating the overview could probably be done easily if I save the article list before deleting the group and then feed overchan the same stuff it gets from the innfeeds feed. If I could get rid of the old stuff I would write the perl script to recreate it. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Linux is a feedback loop. People use it because it has support for all the neat hardware and applications they want, and implement all the neat hardware and applications because they want to use Linux.
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