Thread View: news.software.nntp
4 messages
4 total messages
Started by Tim Fardell
Fri, 27 Jul 2012 19:04
Changing from tradspool to timehash (INN 2.4.3)
Author: Tim Fardell
Date: Fri, 27 Jul 2012 19:04
Date: Fri, 27 Jul 2012 19:04
7 lines
1482 bytes
1482 bytes
What happens if I just change "tradspool" into "timehash" for all groups in storage.conf and restart the server? Presumably all new articles received will be stored in a timehash structure, but will the old posts stored as tradspool still be accessible to clients? -- Please remove all-your-clothes before replying.
Re: Changing from tradspool to timehash (INN 2.4.3)
Author: Russ Allbery
Date: Fri, 27 Jul 2012 20:01
Date: Fri, 27 Jul 2012 20:01
23 lines
2087 bytes
2087 bytes
Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes:
> What happens if I just change "tradspool" into "timehash" for all groups
> in storage.conf and restart the server?
> Presumably all new articles received will be stored in a timehash
> structure, but will the old posts stored as tradspool still be
> accessible to clients?
I think this will work as long as you ensure that the new timehash
configuration uses a different storage class number in storage.conf than
your old tradspool configuration. But I'm not positive; I can't remember
for certain how this part of the code works.
To be safe, I would retain your existing storage.conf configuration but
add a new method stanza *before* all of your existing stanzas that matches
all newsgroups (newsgroups: *) and a new storage class number.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Changing from tradspool to timehash (INN 2.4.3)
Author: Tim Fardell
Date: Sat, 28 Jul 2012 11:43
Date: Sat, 28 Jul 2012 11:43
26 lines
2464 bytes
2464 bytes
On Fri, 27 Jul 2012 13:01:26 -0700, Russ Allbery <rra@stanford.edu> wrote: >Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes: > >> What happens if I just change "tradspool" into "timehash" for all groups >> in storage.conf and restart the server? > >> Presumably all new articles received will be stored in a timehash >> structure, but will the old posts stored as tradspool still be >> accessible to clients? > >I think this will work as long as you ensure that the new timehash >configuration uses a different storage class number in storage.conf than >your old tradspool configuration. But I'm not positive; I can't remember >for certain how this part of the code works. > >To be safe, I would retain your existing storage.conf configuration but >add a new method stanza *before* all of your existing stanzas that matches >all newsgroups (newsgroups: *) and a new storage class number. Thanks Russ. I'll give it a try and see what happens. If the worst happens I can always re-feed all the articles from the tradspool back onto the server. -- Please remove all-your-clothes before replying.
Re: Changing from tradspool to timehash (INN 2.4.3)
Author: Tim Fardell
Date: Tue, 31 Jul 2012 19:56
Date: Tue, 31 Jul 2012 19:56
40 lines
2885 bytes
2885 bytes
On Sat, 28 Jul 2012 12:43:53 +0100, Tim Fardell <tim.fardell.all-your-clothes@virgin.net> wrote: >On Fri, 27 Jul 2012 13:01:26 -0700, Russ Allbery <rra@stanford.edu> wrote: > >>Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes: >> >>> What happens if I just change "tradspool" into "timehash" for all groups >>> in storage.conf and restart the server? >> >>> Presumably all new articles received will be stored in a timehash >>> structure, but will the old posts stored as tradspool still be >>> accessible to clients? >> >>I think this will work as long as you ensure that the new timehash >>configuration uses a different storage class number in storage.conf than >>your old tradspool configuration. But I'm not positive; I can't remember >>for certain how this part of the code works. >> >>To be safe, I would retain your existing storage.conf configuration but >>add a new method stanza *before* all of your existing stanzas that matches >>all newsgroups (newsgroups: *) and a new storage class number. > >Thanks Russ. I'll give it a try and see what happens. > >If the worst happens I can always re-feed all the articles from the tradspool >back onto the server. It worked :-) Actually I messed it up initially, and forgot to change the class number, which got me in a slight pickle - but after fixing that and rebuilding overview, it's all working great! New posts are appearing in the timehash, and all the old tradspool posts are still accessible to clients. Thanks! -- Please remove all-your-clothes before replying.
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