Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sentinel springwebmvc不支持异步async请求 #2447

Open
halfciga opened this issue Nov 12, 2021 · 1 comment · May be fixed by #2700
Open

sentinel springwebmvc不支持异步async请求 #2447

halfciga opened this issue Nov 12, 2021 · 1 comment · May be fixed by #2700
Labels
area/integrations Issues or PRs related to integrations with open-source components good first issue Good for newcomers kind/bug Category issues or prs related to bug.

Comments

@halfciga
Copy link

我们在Controller使用了WebAsyncTask的异步返回方式,这种情况下,AbstractSentinelInterceptor中的prehandle会执行两次,rckey变成了2,但是afterCompletion只会执行一次(而且还是在另外一个线程请求的),导致clean的逻辑无法执行,这样entry和context在threadlocal中一直无法清除,最终oom

@sczyh30 sczyh30 added the area/integrations Issues or PRs related to integrations with open-source components label Nov 12, 2021
@sczyh30 sczyh30 added kind/bug Category issues or prs related to bug. good first issue Good for newcomers labels Mar 22, 2022
@icodening icodening linked a pull request Apr 29, 2022 that will close this issue
@Linzyoo
Copy link
Contributor

Linzyoo commented Aug 24, 2024

It seems fixed by #3440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/integrations Issues or PRs related to integrations with open-source components good first issue Good for newcomers kind/bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants