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/11/01 04:35:20 UTC

[GitHub] [apisix-dashboard] jagerzhang opened a new issue #2192: Dashboard upstream Raw Data Editor does not display the priority field, and the priority setting will be lost when updating

jagerzhang opened a new issue #2192:
URL: https://github.com/apache/apisix-dashboard/issues/2192


   APISIX的路由是支持通过设置priority权重来满足不同的转发优先级的,但是这个特性并没有在dashboard上开放设置入口,因此我们是通过admin api 来设置的。当通过admin api 设置好priority之后,在dashboard的上游查看界面中,却不显示priority字段,一旦在这个界面点击提交,priority字段设置会丢失,导致既定优先级失效,可能引发不必要的现网故障。
   
   Admin Api 设置的upstream:
   ![image](https://user-images.githubusercontent.com/9711651/139622038-1e39170c-941a-4599-9ba8-3afda92c2d3f.png)
   
   在dashboard 的upstream view中显示如图:
   ![image](https://user-images.githubusercontent.com/9711651/139622062-97db63c8-a00e-4844-addc-76320328f358.png)
   
   一旦在这个界面点击了提交,这个字段将会被删除。
   
   这里推荐2个解决方案:
   1、dashboard支持下priority设置特性;
   2、dashboard暂时不能支持的功能特性,建议优先采用合并设置,而不是覆写设置,至少不要冲掉已存在的元数据(推荐)


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



[GitHub] [apisix-dashboard] bzp2010 commented on issue #2192: Dashboard upstream does not display the priority field, and the priority setting will be lost when click the commit button

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2192:
URL: https://github.com/apache/apisix-dashboard/issues/2192#issuecomment-955950813


   @jagerzhang Here was determined to be a difference between APISIX and Dashboard, which is a bug. It takes a while to fix.


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



[GitHub] [apisix-dashboard] juzhiyuan closed issue #2192: Dashboard upstream does not display the priority field, and the priority setting will be lost when click the commit button

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #2192:
URL: https://github.com/apache/apisix-dashboard/issues/2192


   


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