apache / apache/shenyu

[BUG] <DiscoveryUpstreamDataRefresh cacheConfigData方法GROUP_CACHE.get(ConfigGroupEnum.PROXY_SELECTOR) >

Open
#5,635 1 comment 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

every 5 second interval, console print log:

o.a.s.s.data.http.HttpSyncDataService : Group config changed: [DISCOVER_UPSTREAM]

### Expected Behavior

@Override
public ConfigData cacheConfigData() {
return GROUP_CACHE.get(ConfigGroupEnum.DISCOVER_UPSTREAM);
}

### Steps To Reproduce

start Admin, start Bootstrap

### Environment

```markdown
ShenYu version(s): v2.6.1, master
```

### Debug logs

_No response_

### Anything else?

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at DiscoveryUpstreamDataRefresh.cacheConfigData() and inspect the GROUP_CACHE lookup for ConfigGroupEnum.PROXY_SELECTOR versus ConfigGroupEnum.DISCOVER_UPSTREAM. Reproduce by starting Admin and Bootstrap, then verify that the DISCOVER_UPSTREAM group is not logged as changed every five seconds.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.