dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Dubbo 2.6.3 server starts after showing 2.0.2

Open llx206 opened this issue 8 years ago • 3 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.6.3
  • Operating System version: windows
  • Java version: 1.8

Steps to reproduce this issue

  1. incubator-dubbo-dubbo-2.6.3\dubbo-demo\dubbo-demo-provider image after run this main

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

dubbo=2.6.3

Actual Result

image

llx206 avatar Sep 25 '18 09:09 llx206

@llx206 2.0.2 is the version of dubbo protocol, 2.6.3 is the version of maven jar.

diecui1202 avatar Sep 25 '18 09:09 diecui1202

@diecui1202 ,why in the 2.6.2, this show image

May I ask if the meaning of the fields 2.6.2 and 2.6.3 has changed?

llx206 avatar Sep 25 '18 09:09 llx206

@llx206

Here is dubbo-2.6.2 code :

private void doExportUrlsFor1Protocol(ProtocolConfig protocolConfig, List<URL> registryURLs) {
  ...
  map.put(Constants.DUBBO_VERSION_KEY, Version.getVersion());
  ...

Here is dubbo-2.6.3 code :

private void doExportUrlsFor1Protocol(ProtocolConfig protocolConfig, List<URL> registryURLs) {
  ...
  map.put(Constants.DUBBO_VERSION_KEY, Version.getProtocolVersion());
  ...

duplicate of https://github.com/apache/incubator-dubbo/issues/2542

zonghaishang avatar Sep 26 '18 02:09 zonghaishang