funky-eyes commented on code in PR #7222:
URL: https://github.com/apache/incubator-seata/pull/7222#discussion_r1997495250
##########
server/src/main/java/org/apache/seata/server/config/SeataNamingserverWebConfig.java:
##########
@@ -33,7 +33,7 @@ public class SeataNamingserverWebConfig {
public FilterRegistrationBean<RaftRequestFilter>
raftRequestServletFilter(RaftRequestFilter raftRequestFilter) {
FilterRegistrationBean<RaftRequestFilter> registrationBean = new
FilterRegistrationBean<>();
registrationBean.setFilter(raftRequestFilter);
- registrationBean.addUrlPatterns("/api/v1/console/*");
+ registrationBean.addUrlPatterns("/api/v1/console/*", "/vgroup/v1/*");
Review Comment:
> Are these two paths need the same filter function?
Yes, because the newly added transaction group must go through the leader
node.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]