shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

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

Open yy1454974834 opened this issue 1 year ago • 4 comments

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

ShenYu version(s):2.6.1

Debug logs

No response

Anything else?

No response

yy1454974834 avatar Oct 26 '24 02:10 yy1454974834

No client registration refers to not using Shenyu client

yy1454974834 avatar Oct 26 '24 02:10 yy1454974834

you shoud add header rpc_type=springCloud

moremind avatar Oct 26 '24 15:10 moremind

你应该添加标题rpc_type=springCloud

它与 rpc_type=springCloud 无关。我添加了元数据以实现转发。现在我已经配置了手柄权重。当加重机重新启动时,手柄会自动清除。我认为这是一个错误。

yy1454974834 avatar Oct 27 '24 14:10 yy1454974834

你应该添加标题rpc_type=springCloud

And I configured multiple selectors and rules, the new selector will bind itself to the same rule, which is also a bug

yy1454974834 avatar Oct 27 '24 14:10 yy1454974834