Bug Description
After the plug-in matching rule is updated, the new rule of the request gateway does not take effect.
synchronous invalid.
Context
After I modified the rule in shenyu admin, the synchronization gateway was triggered, and the gateway did not seem to handle it correctly
The gateway uses prefix tree to store rules, and the processing logic of updating action is putNode, so the historical rules are not cleaned up, which leads to the request interface still using the old rules after updating rules
Divide plugin, the source address can still be accessed after the Condition changes, which is fatal:

Similarly, WAF plugin
After the firewall rule switch changes, it does not take effect, which is also fatal:


Bug Description
After the plug-in matching rule is updated, the new rule of the request gateway does not take effect.
synchronous invalid.
Context
After I modified the rule in shenyu admin, the synchronization gateway was triggered, and the gateway did not seem to handle it correctly
The gateway uses prefix tree to store rules, and the processing logic of updating action is putNode, so the historical rules are not cleaned up, which leads to the request interface still using the old rules after updating rules
Divide plugin, the source address can still be accessed after the Condition changes, which is fatal:

Similarly, WAF plugin
After the firewall rule switch changes, it does not take effect, which is also fatal: