pcp
[Top] [All Lists]

Re: [pcp] [RFC] pcp python patch

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] [RFC] pcp python patch
From: David Smith <dsmith@xxxxxxxxxx>
Date: Mon, 17 Nov 2014 17:03:57 -0600
Cc: pcp <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <207038253.507858.1416264783839.JavaMail.zimbra@xxxxxxxxxx>
References: <54512E80.9090302@xxxxxxxxxx> <545A53B0.9030500@xxxxxxxxxx> <704052736.8837998.1415255680009.JavaMail.zimbra@xxxxxxxxxx> <545CEE9A.5060007@xxxxxxxxxx> <615631257.11639679.1415673601327.JavaMail.zimbra@xxxxxxxxxx> <54667179.1060605@xxxxxxxxxx> <370186244.15487866.1416205739744.JavaMail.zimbra@xxxxxxxxxx> <546A44F0.1070001@xxxxxxxxxx> <207038253.507858.1416264783839.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
On 11/17/2014 04:53 PM, Nathan Scott wrote:
> 
> 
> ----- Original Message -----
>> [...]
>> This would only have affected anyone who called
>> clear_metrics()/reset_metrics() or clear_indoms().
>>
>>> Do we need a new API to allow new dictionary object
>>> ref(s) to be pushed down to cpmda, overwriting the old?
>>
>> Hmm, I'm not really seeing a use case for that with the way the PMDA
>> class is currently written. What is your thought here?
> 
> Oh, I just had the impression from your earlier mail you weren't
> completely satisfied that we'd covered off all the cases ... its
> likely I've just misinterpreted that "except for [1]" reference.

I believe I've covered all the cases. All list/dictionary references are
cached down in cpmda and no longer thrown away after use (a). In the
PMDA class, I made sure all lists/dictionaries are cleared, not recreated.

-- 
David Smith
dsmith@xxxxxxxxxx
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

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