Gnus development mailing list
 help / color / mirror / Atom feed
From: Wes Hardaker <wes@hardakers.net>
Subject: Re: Agent .overview files not getting truncated (was Re: memory usage results (ack!))
Date: Thu, 07 Feb 2002 21:08:49 -0800	[thread overview]
Message-ID: <sd1yfwd0gu.fsf@wanderer.hardakers.net> (raw)
In-Reply-To: <2nit9898ps.fsf@zsh.cs.rochester.edu> (ShengHuo ZHU's message of "Thu, 07 Feb 2002 18:24:15 -0500")

>>>>> On Thu, 07 Feb 2002 18:24:15 -0500, ShengHuo ZHU <zsh@cs.rochester.edu> said:

>> keystrokes:  q 2 g ENTER
>> 
>> % egrep '^10015' .overview | wc -l
>> 2
>> 
>> Ack.  And so we begin again collecting too much data.
>> 
>> Apparently the new auto-header-fetch code is duplicating stuff?

ZSH> Emm, it looks like a bug. But I didn't see duplication in my
ZSH> .overview files. Maybe there is something wrong in
ZSH> gnus-agent-braid-nov. Could you debug it?

Well, first of in debugging it I've found the following things:

1) it only appears if there is in fact new mail in the folder
   (otherwise gnus-agent-braid-nov doesn't even get called).

2) the problem comes from the fact that the if statement which decides
   whether to insert the contents of the old .overview file into the
   nntp buffer bases it's decision on the last article number in
   the list of articles and the .overview file.  If the list of
   articles contains anything newer, then the *entire* contents of the
   .overview file is inserted.  I think this is where the duplication
   is going on.

-- 
"Ninjas aren't dangerous.  They're more afraid of you than you are of them."



  reply	other threads:[~2002-02-08  5:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-07  1:36 memory usage results (ack!) Wes Hardaker
2002-02-07 22:20 ` Agent .overview files not getting truncated (was Re: memory usage results (ack!)) Wes Hardaker
2002-02-07 23:24   ` ShengHuo ZHU
2002-02-08  5:08     ` Wes Hardaker [this message]
2002-02-08  6:02       ` ShengHuo ZHU
2002-02-08 15:44         ` Wes Hardaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sd1yfwd0gu.fsf@wanderer.hardakers.net \
    --to=wes@hardakers.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).