pcp
[Top] [All Lists]

Re: JSON PMDA

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>, David Smith <dsmith@xxxxxxxxxx>, Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: JSON PMDA
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 16 Apr 2015 18:37:04 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20150416152834.GB6822@xxxxxxxxxx>
References: <54F9F92D.4010202@xxxxxxxxxx> <448002717.7934024.1427683964254.JavaMail.zimbra@xxxxxxxxxx> <552699FE.7040801@xxxxxxxxxx> <2139482617.15593599.1428634701360.JavaMail.zimbra@xxxxxxxxxx> <552D6524.1030803@xxxxxxxxxx> <y0mfv80ubzj.fsf@xxxxxxxx> <552FD368.6030602@xxxxxxxxxx> <20150416152834.GB6822@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: OZRDuipW7RHbdf7Q0aRvV1G+yTtDfw==
Thread-topic: JSON PMDA

----- Original Message -----
> > [...]
> > That sounds good, except in the case where when the JSON PMDA was
> > started there were 3 JSON sources, and during the run a 4th was added.
> > Now the JSON PMDA gets restarted
> 
> ...  but according to normal practice, a "restarted pmda" means
> "restarted pmcd", which means active pcp contexts are dropped, which
> means clients are to reconnect & recalculate name->pmid mappings.

Some more context :- historically (and still now for many PMDAs) a SIGHUP
to pmcd was the default agent-restart/pmcd-reconfigure mechanism & that'll
become the default again soon for all PMDAs (so, no loss of connection for
clients).  The current situation requiring a pmcd restart was a compromise
(aka a bug :|) that was introduced with the unprivileged-pmcd changes, and
which will be fixed.

Is there any reason not to tackle this problem, Frank?  There's a possible
solution proposed reusing existing code, & other PMDAs that will benefit -
seems like a no-brainer that we should Just Do It.

cheers.

--
Nathan

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