Expire not working with svn 2.4-CURRENT?

Christiaan den Besten chris at prolocation.net
Tue Jun 14 16:58:00 UTC 2005


Hi !

I do have groupbasedexpiry turned off, that's why I was wondering if 'expireover' had any use at all :) alt.binaries.nl has a pretty 
continuous incoming feed, so I would expect the cnfs spool to be overwriting 'old articles' all the time.. ?

And indeed, we do not use '-N' anymore after we disabled groupbaseexpiry.

So I should test again, but with 'expire' and not 'expireover' ?... I would expect the 'first article' to shift more in time after 
an expire session.

bye,
Chris

----- Original Message ----- 
From: "Russ Allbery" <rra at stanford.edu>
To: <inn-workers at isc.org>
Sent: Tuesday, June 14, 2005 5:58 PM
Subject: Re: Expire not working with svn 2.4-CURRENT?


Christiaan den Besten <chris at prolocation.net> writes:

> ---
> [root at spool8 retention]# /usr/local/retention/ret.pl -s localhost -g alt.binaries.nl
> group alt.binaries.nl first 176521101 last 184168440 estimated 7647339
> first article 176521101: 26 May 2005 10:53:11 GMT
> last article 184168440: Tue, 14 Jun 2005 07:34:02 -0500
> 19.07
> [root at spool8 retention]# su - news
> -sh-3.00$ echo 'alt.binaries.nl' | expireover -f -
> -sh-3.00$ logout
> [root at spool8 retention]# /usr/local/retention/ret.pl -s localhost -g alt.binaries.nl
> group alt.binaries.nl first 176521101 last 184174961 estimated 7653860
> first article 176521101: 26 May 2005 10:53:11 GMT
> last article 184174961: 14 Jun 2005 12:52:36 GMT
> 19.08
> [root at spool8 retention]#
> ---

> Could it be that group based expiry doesn't work with cnfs spools ?
> Above is with the 'working' 2.4.2 inn install. (just thought I might
> give that a try first .... ).

I thought you said you had groupbaseexpiry turned off -- but either way,
normally expire won't remove messages in CNFS spools until they're
overwritten normally.  Have any of your cycbuffs rolled over yet?  If not,
what you're getting is the expected behavior.

You can force expiration of self-expiring backends like CNFS by using the
-N option to expireover (if groupbaseexpire is set) or to expire (if it's
not).  Note that if you don't set groupbaseexpire, the work of removing
articles is actually done by expire, not expireover, and expireover just
removes the overview entries for articles expire decided to delete.  (Yes,
this is unfortunately complicated -- at some point, expire and expireover
should just merge into the same program, I think.)

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.






More information about the inn-workers mailing list