catpineapple commented on issue #37375:
URL: https://github.com/apache/doris/issues/37375#issuecomment-2244495943

   hi, 我是doris-operator  的开发者, 仅就基于 doris-operator 部署的多 fe 来讲:这个 webUI  带的 
session 在切换中间负载均衡节点时会断掉,尤其是轮询的策略,我们在 operator的 service 里面默认加上了这个  
SessionAffinity 的配置, 保证 在service 的负载到 fe 的过程中,同一个 ip 尽可能 访问固定的 fe. 如果在你的浏览器访问 
k8s service 的时候,又做了 负载均衡,那么这个负载均衡没有类似于 SessionAffinity = clientip 的配置的话,还是会频繁断链。
   当然,其他的情况也可以依照这个思路定位一下问题,只要是客户端ip 出现切换的情况,都可能造成session 过期的情况。
   ---------------------------------------------------
   Hi, I am the developer of doris-operator. Just speaking of multiple FEs 
deployed based on doris-operator: the session with this webUI will be 
disconnected when switching the intermediate load balancing node, especially 
the polling strategy. We have added this SessionAffinity configuration by 
default in the operator's service to ensure that in the process of service load 
to FE, the same IP accesses the fixed FE as much as possible. If you do load 
balancing when your browser accesses the k8s service, then if this load 
balancing does not have a configuration similar to SessionAffinity = clientip, 
it will still frequently disconnect. Of course, other situations can also 
locate the problem according to this idea. As long as the client IP is 
switched, it may cause the session to expire.


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

Reply via email to