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

GatewaySlotChainBuilder无法被调用 #1668

Closed
sqgzy opened this issue Aug 13, 2020 · 2 comments
Closed

GatewaySlotChainBuilder无法被调用 #1668

sqgzy opened this issue Aug 13, 2020 · 2 comments
Labels
kind/question Category issues related to questions or problems

Comments

@sqgzy
Copy link

sqgzy commented Aug 13, 2020

现象:
如果com.alibaba.csp:sentinel-parameter-flow-control在com.alibaba.cloud:spring-cloud-alibaba-sentinel-gateway之前被加载,则SpiLoader.loadFirstInstanceOrDefault会返回符合要求的第一个值,也就是HotParamSlotChainBuilder,那么GatewaySlotChainBuilder无法被调用,网关流控不能正常执行。

版本:
com.alibaba.csp:sentinel-core:1.7.1
com.alibaba.csp:sentinel-parameter-flow-control:1.7.1
com.alibaba.cloud:spring-cloud-alibaba-sentinel-gateway:2.2.1.RELEASE

@sczyh30
Copy link
Member

sczyh30 commented Aug 13, 2020

See #1306

@sczyh30 sczyh30 added the kind/question Category issues related to questions or problems label Aug 13, 2020
@sczyh30
Copy link
Member

sczyh30 commented Aug 13, 2020

You may upgrade all your Sentinel dependencies to 1.7.2.

@sczyh30 sczyh30 closed this as completed Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

2 participants