indy icon indicating copy to clipboard operation
indy copied to clipboard

Fix the way a ConnectionManagerTracker item is keyed.

Open whitingjr opened this issue 4 years ago • 1 comments

The way a tracker is retrieved from the cache needs fixing. Currently cache item key includes the artifact name.

2020-12-21 16:10:40.759 [INFO ] [maven-metadata-generator-38: LIST http://somewhere.com/...abc..../org.apache.cxf-cxf/3.1.10.foobar_1/1/maven/org/codehaus/mojo/wagon-maven-plugin] o.c.u.j.I.c.ConnectionManagerTracker  abc.123.def.456 - Creating connection pool for: maven:remote:koji-org.apache.cxf-cxf-3.1.10.foobar_1-1 with 30 connections.
2020-12-21 16:10:40.760 [INFO ] [maven-metadata-generator-15: LIST http://somewhere.com/...abc..../com.fasterxml.jackson.core-jackson-core/2.9.5.foobar_2/1/maven/org/codehaus/mojo/wagon-maven-plugin] o.c.u.j.I.c.ConnectionManagerTracker  abc.123.def.456 - Creating connection pool for: maven:remote:koji-com.fasterxml.jackson.core-jackson-core-2.9.5.foobar_2-1 with 30 connections.
2020-12-21 16:10:40.761 [INFO ] [maven-metadata-generator-36: LIST http://somewhere.com/...abc..../org.jboss.ws-jbossws-parent/1.4.2.Final_foobar_00001/1/maven/org/codehaus/mojo/wagon-maven-plugin] o.c.u.j.I.c.ConnectionManagerTracker  abc.123.def.456 - Creating connection pool for: maven:remote:koji-org.jboss.ws-jbossws-parent-1.4.2.Final_foobar_00001-1 with 30 connections.
2020-12-21 16:10:40.761 [INFO ] [maven-metadata-generator-14: LIST http://somewhere.com/...abc..../io.prometheus.jmx-parent/0.10.0.foobar_2/1/maven/org/codehaus/mojo/wagon-maven-plugin] o.c.u.j.I.c.ConnectionManagerTracker  abc.123.def.456 - Creating connection pool for: maven:remote:koji-io.prometheus.jmx-parent-0.10.0.foobar_2-1 with 30 connections.

this should be keyed by managed repository.

whitingjr avatar Jan 05 '21 15:01 whitingjr

Looks like code in Galley project controls how a tracker is retrieved.

whitingjr avatar Jan 05 '21 16:01 whitingjr