Gnus development mailing list
 help / color / mirror / Atom feed
* nnml compaction
@ 2005-09-19 13:29 Didier Verna
  2005-09-19 20:38 ` Ken Raeburn
  2005-09-25 22:15 ` Miles Bader
  0 siblings, 2 replies; 6+ messages in thread
From: Didier Verna @ 2005-09-19 13:29 UTC (permalink / raw)



        Dear folks,

I've just committed a long awaited feature (I think): nnml compaction at the
_backend_ level. Here, compaction means removing the gaps between article
numbers (and actually starting again from article number 1). This gives you
more accurate information (like total number of articles and so on).

No more need for each user to create a new group and move all articles to that
group, or any other manual trickery that we've seen before. To use this
feature, you can type 'G z' on an nnml group in the Group Buffer, or you can
type 'z' on an nnml server in the Server Buffer (All groups in this server
will be compacted).

This feature is fully functional for me, but should probably still be
considered beta. In particular, it correctly preserves marks, but nothing is
written to support the agent or the cache. I don't know these beasts and I
don't even know whether I should be concerned by them. Any expertise on the
matter would be appreciated. Also, there is still a display problem with the
server compaction function: it doesn't update the information in the Group
Buffer. 

I've run it on my main nnml server and it took 4 minutes to compact 25000
messages. This result is totally meaningless because I have no information on
the topology of the gaps I had (I just know there were plenty because of
removed spams). However, it shows that the feature works ;-)

Last thing: I've not updated the Gnus manual yet.


Try it, but backup first :-)

-- 
Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier@xemacs.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnml compaction
  2005-09-19 13:29 nnml compaction Didier Verna
@ 2005-09-19 20:38 ` Ken Raeburn
  2005-09-20  7:40   ` Didier Verna
  2005-09-25 22:15 ` Miles Bader
  1 sibling, 1 reply; 6+ messages in thread
From: Ken Raeburn @ 2005-09-19 20:38 UTC (permalink / raw)
  Cc: Gnus Beta Testers

On Sep 19, 2005, at 06:29, Didier Verna wrote:

> This feature is fully functional for me, but should probably still be
> considered beta. In particular, it correctly preserves marks, but  
> nothing is
> written to support the agent or the cache. I don't know these  
> beasts and I
> don't even know whether I should be concerned by them. Any  
> expertise on the
> matter would be appreciated. Also, there is still a display problem  
> with the
> server compaction function: it doesn't update the information in  
> the Group
> Buffer.
>

Are you updating xref data too?  Both in the message file (or files,  
in the case where hard-linking doesn't work) and in the overview  
files of other groups?

Ken




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnml compaction
  2005-09-19 20:38 ` Ken Raeburn
@ 2005-09-20  7:40   ` Didier Verna
  2005-09-20 10:28     ` Katsumi Yamaoka
  0 siblings, 1 reply; 6+ messages in thread
From: Didier Verna @ 2005-09-20  7:40 UTC (permalink / raw)
  Cc: Gnus Beta Testers

Ken Raeburn <raeburn@raeburn.org> wrote:

> Are you updating xref data too? Both in the message file (or files, in the
> case where hard-linking doesn't work) and in the overview files of other
> groups?

        No, not yet. Currently, only the article number in the overview file
is updated (and also the marks file).

-- 
Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier@xemacs.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnml compaction
  2005-09-20  7:40   ` Didier Verna
@ 2005-09-20 10:28     ` Katsumi Yamaoka
  2005-09-20 12:59       ` Didier Verna
  0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2005-09-20 10:28 UTC (permalink / raw)


>>>>> In <muxfys09og7.fsf@uzeb.lrde.epita.fr> Didier Verna wrote:

> Ken Raeburn <raeburn@raeburn.org> wrote:

>> Are you updating xref data too? Both in the message file (or files, in the
>> case where hard-linking doesn't work) and in the overview files of other
>> groups?

>         No, not yet. Currently, only the article number in the overview file
> is updated (and also the marks file).

Do you have a plan to achieve it?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnml compaction
  2005-09-20 10:28     ` Katsumi Yamaoka
@ 2005-09-20 12:59       ` Didier Verna
  0 siblings, 0 replies; 6+ messages in thread
From: Didier Verna @ 2005-09-20 12:59 UTC (permalink / raw)
  Cc: ding

Katsumi Yamaoka <yamaoka@jpl.org> wrote:

>>> Are you updating xref data too? Both in the message file (or files, in the
>>> case where hard-linking doesn't work) and in the overview files of other
>>> groups?
>
>>         No, not yet. Currently, only the article number in the overview file
>> is updated (and also the marks file).
>
> Do you have a plan to achieve it?

        Yes :-) Unless someone beats me on it of course. Updating the NOV
entry for the article won't be hard. Maybe finding and updating affected
crossposts elsewhere will be more difficult. I don't know; I've not looked at
it yet.

-- 
Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier@xemacs.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnml compaction
  2005-09-19 13:29 nnml compaction Didier Verna
  2005-09-19 20:38 ` Ken Raeburn
@ 2005-09-25 22:15 ` Miles Bader
  1 sibling, 0 replies; 6+ messages in thread
From: Miles Bader @ 2005-09-25 22:15 UTC (permalink / raw)


Didier Verna <didier@lrde.epita.fr> writes:
> I've just committed a long awaited feature (I think): nnml compaction at the
> _backend_ level. Here, compaction means removing the gaps between article
> numbers (and actually starting again from article number 1).

Cool, thanks very much!  The "article numbers always increase despite
huge gaps" behavior of nnml has always been an annoying wart of gnus...

-miles
-- 
"Most attacks seem to take place at night, during a rainstorm, uphill,
 where four map sheets join."   -- Anon. British Officer in WW I




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-25 22:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-19 13:29 nnml compaction Didier Verna
2005-09-19 20:38 ` Ken Raeburn
2005-09-20  7:40   ` Didier Verna
2005-09-20 10:28     ` Katsumi Yamaoka
2005-09-20 12:59       ` Didier Verna
2005-09-25 22:15 ` Miles Bader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).