apache / apache/shenyu

[BUG] <title>What is the behavior of the handle in SpringCloud's selector often replacing itself with null?

Open
#5,730 4 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Java
Stars
8.8k
Forks
3.1k
Avg merge
7d 1h
Merged PRs (30d)
85

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

I designed the weight of the selector, please note that it was manually configured without client registration. It was replaced with null in a few days, and when the selector was added in version 2.6.1, the binding to the rule was often incorrect, which is a serious bug

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Environment

```markdown
ShenYu version(s):2.6.1
```

### Debug logs

_No response_

### Anything else?

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the selector and rule-binding implementation for ShenYu 2.6.1, then trace how a manually configured selector is persisted and reloaded. Reproduce the handle becoming null and the selector binding to the wrong rule; done means both remain stable across reloads. The report provides no failing test, logs, or file path, so those must be identified first.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.