iJIAJIA commented on issue #9516:
URL: https://github.com/apache/dubbo/issues/9516#issuecomment-1022799791


   https://github.com/apache/dubbo/issues/9617
   相似的问题。
   使用arthas
   // 获取NetUtils 实例hash
   sc -d *NetUtils 
   // 使用ognl调用org.apache.dubbo.common.utils.NetUtils#getValidNetworkInterfaces
   ognl -c 7728643a -x 3 
'@org.apache.dubbo.common.utils.NetUtils@getValidNetworkInterfaces()'
   发现网卡列表里docker0网卡在我们的物理网卡之前
   @LinkedList[
       ....
       @NetworkInterface[
           name=@String[docker0],
           displayName=@String[docker0],
       ],
       @NetworkInterface[
           name=@String[ens192],
           displayName=@String[ens192],
       ],
   ]
   2.7.14之前用的break,这只是中断了while循环。2.7.14我猜测是为了修复这个逻辑bug,结果走到docker0之后就退出了。


-- 
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-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to