You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/19 08:30:03 UTC
[GitHub] [apisix] htwdjqr commented on issue #4623: bug: traffic-split plugin
htwdjqr commented on issue #4623:
URL: https://github.com/apache/apisix/issues/4623#issuecomment-882354656
现在测试更离谱,所有命中规则的请求都直接转发到路由配置的上游节点了,而不是规则命中的节点。
我的配置如下:
```json
{
"disable": false,
"rules": [
{
"match": [
{
"vars": [
[
"http_release",
"==",
"new_release"
]
]
}
],
"weighted_upstreams": [
{
"upstream": {
"name": "upstream_A",
"nodes": {
"172.18.50.234:10002": 10
},
"type": "roundrobin"
}
}
]
}
]
}
```
请求:curl http://127.0.0.1:9080/uc/demo -H "release: new_release"
这个问题有啥排查思路呢?
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org