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

Nathan Scott nscott at aconex.com
Mon Nov 9 23:51:12 CST 2009


----- "Nathan Scott" <nscott at aconex.com> wrote:
> ----- "Martin Hicks" <mort at bork.org> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmv.patch
Type: text/x-patch
Size: 16766 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/pcp/attachments/20091110/cefd94c3/attachment-0001.patch>


More information about the pcp mailing list