pcp
[Top] [All Lists]

Re: [pcp] Log rotation issue

To: kenj@xxxxxxxxxxxxxxxx
Subject: Re: [pcp] Log rotation issue
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Tue, 31 Mar 2009 21:04:34 +1100 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1238484547.19916.376.camel@bozo>
----- "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> wrote:

> On Tue, 2009-03-31 at 09:21 +1100, Nathan Scott wrote:
> > ----- "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> wrote:
> > 
> 
> I don't think pmlogger gets a chance ... until the first fetch has
> been
> done and the first pmResult is ready to go to the archive, it cannot
> write the label record (which is the missing piece of magic here).
> 
> I've been able to reproduce the symptom with a hard loop test case
> launching pmlogger and creating a folio in two shell scripts (not
> really
> suitable for pcpqa I'm afraid).  This proves my theory, so the
> attached
> patch for pmnewlog should fix the problem, I believe.
> 
> This patch passes qa, as in ...
>       $ check -g pmnewlog -g logutil -x remote
> 

Great, thanks Ken!  I'll spin a new snapshot with this soon, and
try it out on our systems.

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>