Skip to content

[Bug] The actual number of connections established is twice what I configured #14129

Closed
@lpcy

Description

@lpcy

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Dubbo Java 3.2.5, JDK 1.8, Linux

Steps to reproduce this issue

provider config(spring xml)

 <dubbo:application name="dubbo-provider"  />
 <dubbo:registry protocol="zookeeper" file="registry.cache" address="127.0.0.1:2181" />
 <dubbo:protocol name="dubbo" port="2087" accesslog="true"/>
<dubbo:service interface="api.service.IRun" ref="runImpl" timeout="600000" cluster="failfast"/>

consumer config(spring xml)

<dubbo:application name="dubbo-consumer"  />
<dubbo:registry protocol="zookeeper" file="registry.cache" address="127.0.0.1:2181" />
<dubbo:protocol name="dubbo" port="2088" accesslog="true"/>
<dubbo:reference id="run" interface="api.service.IRun" connections="7"/>

What you expected to happen

After upgrading from Dubbo2 to Dubbo3.2.5, with the same configuration, the actual number of connections is twice normal, meaning that a consumer sends 14 connections to a provider.

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions