Unknown groups returned by tdx-util

Julien ÉLIE julien at trigofacile.com
Sat Jan 17 10:18:51 UTC 2009


Hi Russ,

>> This command returns me valid groups except:
>> % tdx-util -i
>> 314F75D69AF685571D82083EFC52D814 0 1 0 0 y 0 8586025
>> CE5466E3DAA4A8D2BCD1F0861D990BC8 0 1 0 0 y 0 8571176
>> BEF0ADC46C2412D7B6E9413DF8FCCB76 0 1 0 0 y 0 9159689
>>
>> % tdx-util -i -n BEF0ADC46C2412D7B6E9413DF8FCCB76
>> tdx-util: cannot find group BEF0ADC46C2412D7B6E9413DF8FCCB76
>
> You'll get this if any newsgroups were removed without calling
> OVgroupdel(), which is done by ICDrmgroup() in innd.  For example, if you
> ever used mod-active to remove groups instead of using ctlinnd rmgroup,
> you'll orphan overview information like this.

It is exactly what happened.  And I have just reproduced it using:
    echo "ctlinnd rmgroup newsgroup.test" | mod-active


> (Ideally, ctlinnd reload
> active should figure out if groups were removed and call OVgroupdel(), but
> that's structurally hard to do at present.)

We could introduce a new keyword "ctlinnd overview" to handle external calls.
It would be better than nothing.
I see we already have "ctlinnd addhist" which can be used for history.

    ctlinnd overview delete newsgroup?
    ctlinnd deloverview newsgroup?


In mod-active, we would then have:

    ctlinnd pause 'batch active update'
    ctlinnd reload active 'updated from checkgroups'
++  ctlind deloverview newsgroup1
++  ctlind deloverview newsgroup2
    ctlinnd go 'batch active update'


The command can be sent when the news server is paused/throttled.

-- 
Julien ÉLIE

« -- Il a beaucoup de talents...
  -- Il est doué ?
  -- Non il est riche. Il a beaucoup de talents d'or. » (Astérix) 




More information about the inn-workers mailing list