Horus-K commented on issue #6513:
URL: https://github.com/apache/apisix/issues/6513#issuecomment-1060247077


   这个问题我已经验证, 是路由优先级问题
   
   **不生效场景**
   
   | 路由名称       | id                 | 优先级 |
   | -------------- | ------------------ | ------ |
   | 路由灰度1      | 1014               | 0      |
   | 路由默认主路由 | 1134               | 0      |
   | 路由灰度2      | 397370888246264402 | 0      |
   
   路由灰度2 不生效
   
   
   
   **解决方法**
   
   将灰度路由优先级提高后灰度规则全部生效,appid 与 appId都能匹配
   
   **想法**
   
   可能是 路由默认主路由 后还有100多个路由,匹配不到吧(生产环境路由较多,可能吧)
   灰度路由只有在线上才有,没有想到优先级问题
   @soulbird @spacewander 


-- 
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]


Reply via email to