pcp
[Top] [All Lists]

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

To: Nathan Scott <nscott@xxxxxxxxxx>
Subject: Re: [pcp] Experimental patch (was Re: mmv pmda: stuff always fails the first time?)
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 16 Nov 2009 07:45:20 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1258316429.21790.5.camel@xxxxxxxxxxxxxxxx>
References: <1370327498.387811258077480321.JavaMail.root@xxxxxxxxxxxxxxxxxx> <58136227.387901258077641856.JavaMail.root@xxxxxxxxxxxxxxxxxx> <20091113135030.GJ5895@xxxxxxxxxxxxxxxxxxxxxxxxx> <1258158943.3041.8.camel@localhost> <20091114162915.GI5035@xxxxxxxxxxxxxxxx> <1258227985.3041.19.camel@localhost> <1258316429.21790.5.camel@xxxxxxxxxxxxxxxx>
Reply-to: kenj@xxxxxxxxxxxxxxxx
There is another more fundamental problem with the PMNS traversal in the
proposed mmv changes.  I haven't found the fix for this one yet.

This is correct ...
$ pminfo mmv
mmv.test.strings
mmv.test.string
mmv.test.interval
mmv.test.indom
mmv.test.discrete
mmv.test.counter
mmv.reload
$ pminfo mmv.reload
mmv.reload

But these are all wrong (seems like the traversal is not stopping
properly and traversing all of the tree from the target node on, even
when the target node is a leaf, and in the last case when the target
node is not the last subtree).

$ pminfo mmv.test.interval
mmv.test.interval
mmv.test.indom
mmv.test.discrete
mmv.test.counter

$ pminfo mmv.test.strings
mmv.test.strings
mmv.test.string
mmv.test.interval
mmv.test.indom
mmv.test.discrete
mmv.test.counter

$ pminfo mmv.test
mmv.test.strings
mmv.test.string
mmv.test.interval
mmv.test.indom
mmv.test.discrete
mmv.test.counter
mmv.reload

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