apache / apache/dubbo

Modify the weight in the Nacos 2.1.0 console input box, which is not effective in Dubbo 2.7.21

Open
#11,494 3 comments 0 reactions 0 assignees View on GitHub
type/proposal
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

### Environment

* Dubbo version: 2.7.21
* Operating System version: Widows
* Java version: 1.8
* Nacos:2.1.0

Modifying the weight does not take effect;
![image](https://user-images.githubusercontent.com/26109828/217158002-3f2b7795-e1ae-49d7-b80a-1c77c9bfda28.png)

The weight information delivered by Nacos is in the field weight,Dubbo 2.7.21 is not used when splicing URL information;

![image](https://user-images.githubusercontent.com/26109828/217158095-c26357ab-55dd-470f-8839-8c6c26a2adaf.png)
![image](https://user-images.githubusercontent.com/26109828/217158075-52dd4bac-84be-4651-a31e-370622c9464f.png)

![image](https://user-images.githubusercontent.com/26109828/217160626-e822ed5e-4eaa-493f-83af-3bc25ee42d51.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the weight change from the Nacos 2.1.0 console against Dubbo 2.7.21 on Java 8, then trace how Nacos delivers the weight field and how Dubbo splices service URL information. Done means the configured weight is preserved and affects Dubbo service routing, with regression coverage for this integration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.