apache / apache/shenyu

[BUG] websocket closed refresh data from admin clean plugin local memory

Open
#5,580 0 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

when the websocket connection closed between admin and bootstrap, bootsrap refresh local cache data from the admin resend rule data,in this stage, the local cache data is been cleared first and restore one by one ,when the request is arrived this time , we can't find the plugin cache and throw error because we don't finish the cache data refreshing

### Expected Behavior

the refresh cache data staging need reconstructing. can't clear cache data first,we should friendly for the current requesting to the bootstrap

### 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 by tracing the WebSocket refresh flow between admin and bootstrap in ShenYu 2.6.1, focusing on how plugin local cache data is cleared and restored. Reproduce the refresh window if possible; done means requests remain serviceable during refresh without a missing-plugin-cache error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.