pcp
[Top] [All Lists]

Experimental patch (was Re: [pcp] mmv pmda: stuff always fails the first

To: Martin Hicks <mort@xxxxxxxx>, kenj <kenj@xxxxxxxxxxxxxxxx>
Subject: Experimental patch (was Re: [pcp] mmv pmda: stuff always fails the first time?)
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Tue, 10 Nov 2009 16:51:12 +1100 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <541918287.326961257832248647.JavaMail.root@xxxxxxxxxxxxxxxxxx>
----- "Nathan Scott" <nscott@xxxxxxxxxx> wrote:
> ----- "Martin Hicks" <mort@xxxxxxxx> wrote:
> > ...
> > Is this something wrong with the way I wrote the PMDA, or is this a
> > bug in the MMV PMDA?
> 
> Its a bug that cannot really be fixed in the current MMV design
> (to do with the way pmdammv and pmcd communicate the namespace
> changes) ... MMV needs to switch to using the all-singing, all-
> dancing dynamic namespace infrastructure to really fix this.

Here's a patch which converts pmdammv to use Kens new "dynamic
namespace" interfaces.  It seems to function correctly when I
throw queries at it via dbpmda ... but no testing beyond that
has been done just yet.

Lemme know how it goes.  It also implements a DSO MMV, which I
also ran under dbpmda successfully.  Both these binaries should
no longer have the annoying-spurious-errors feature.

cheers.

-- 
Nathan

Attachment: mmv.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • Experimental patch (was Re: [pcp] mmv pmda: stuff always fails the first time?), Nathan Scott <=