Skip to content

Fix the way a ConnectionManagerTracker item is keyed. #1826

Description

@whitingjr

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions