[pcp] pcp updates: merges, docs, qa

Frank Ch. Eigler fche at redhat.com
Fri Oct 30 10:17:30 CDT 2015


> [...]
>       pmcd: implement dynamic switching of monitored containers
> [...]

How does commit work when composed with shared libpcp connections?
It seems as though if an application does two vanilla

  c1 = pmNewContext(host)
  c2 = pmNewContext(host)

calls, it will get a shared socket - even after your libpcp sharing
fixes, since their 'c_flags' == 0.  Thereafter, will

  pmStore(c1, "container=foo")

affect c2?

A more substantial test case for this, which would start exercising
the connection sharing fix, would be welcome.


- FChE



More information about the pcp mailing list