[BUG] <title> In rulesList, The un-matching request will cause normal requests to fail
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
this is my rule setting in modifyResponse plugin
this is matching case
this is un-matching case without add body info
but after un-matching case, the matching case become un-match
this operates in orders
Expected Behavior
Whenever the request happens, the matching scene should be matched
Steps To Reproduce
- in shenyu-master branch
- set matching rules
- happen one un-matching case
- matching case will dismatch
Environment
ShenYu version(s):
master
Debug logs
this is the logs under matching case but un-matching and without modifyResponse rule success match info.
Anything else?
i have debug in this case, find some questions in this line,
why caches an empty ruleData when not match rules.
cacheRuleData(path, emptyRuleData);
when i delete this line ,this bug will be fixed. but i am not sure this operate is correct.
Can u introduce the original intention of this line which cache empty ruleData?
besides, This problem not only exists in this plugin
please close rule cache in shenyu-bootstrap.yml
please close rule cache in shenyu-bootstrap.yml
so, it is recommended to turn on this rule cache function?
please close rule cache in shenyu-bootstrap.yml
so, it is recommended to turn on this rule cache function?
if your rule just exist url condition, you can turn on
If I want to use the cache not only under the rules of the url condition, is it supported now?
If I want to use the cache not only under the rules of the url condition, is it supported now? next version