wolgod commented on issue #8313:
URL: https://github.com/apache/apisix/issues/8313#issuecomment-1313218180

   > > 如果lvs 超时了 客户端的连接是不是应该断掉,
   > 
   > I'm not sure how lvs handles timeouts, According to general logic, maybe 
the client will not know that the link is disconnected until the client sends 
the data again.
   
   
   
   2022/11/14 14:52:30 [debug] 485#485: *2089958734 [lua] init.lua:59: 
on_added(): {"subsets":[{"addresses”:…….}
   2022/11/14 14:52:30 [info] 485#485: *2089958734 [lua] 
informer_factory.lua:218: watch(): 
--raw=/api/v1/endpoints?resourceVersion=474194133&watch=true&allowWatchBookmarks=true&timeoutSeconds=2226,
 context: ngx.timer
   
   自从14:52:30 进行watch 之后,直到15:32 重新list才能获取到最新数据,为什么会重新watch,我没找到相关的日志打印,
   timeoutSeconds=2226 这个是apiserver的超时时间吧,大约37分钟,因为apiserver超时了,所以apisix 
重新relist了?
   
   2022/11/14 15:32:16 [info] 485#485: *2091522897 [lua] 
informer_factory.lua:59: list(): --raw=/api/v1/endpoints?limit=120, context: 
ngx.timer
   2022/11/14 15:32:16 [info] 485#485: *2091522897 [lua] 
informer_factory.lua:59: list(): 
--raw=/api/v1/endpoints?continue=eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NDc0MjYxMzA1LCJzdGFydCI6Im5zLTIyNTYvZGF0YS10cmFuc2Zlci1wcm9kLWRhdGEtdHJhbnNmZXJcdTAwMDAifQ&limit=120,
 context: ngx.timer
   2022/11/14 15:32:16 [info] 485#485: *2091522897 [lua] 
informer_factory.lua:59: list(): 
--raw=/api/v1/endpoints?continue=eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NDc0MjYxMzA1LCJzdGFydCI6Im5zLTIyNzcveWNoYi1ndy1wYnMtYWlcdTAwMDAifQ&limit=120,
 context: ngx.timer
   2022/11/14 15:32:16 [info] 485#485: *2091522897 [lua] 
informer_factory.lua:59: list(): 
--raw=/api/v1/endpoints?continue=eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NDc0MjYxMzA1LCJzdGFydCI6Im5zLTIzMTIvZ3dzcy1tcS1jb25zdW1lci1hcHAtb25saW5lXHUwMDAwIn0&limit=120,
 context: ngx.timer
   2022/11/14 15:32:16 [info] 485#485: *2091522897 [lua] 
informer_factory.lua:59: list(): 
--raw=/api/v1/endpoints?continue=eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NDc0MjYxMzA1LCJzdGFydCI6Im5zLTI0MjQvYXJrLXJlZ2lzdHJ5LXByb2RcdTAwMDAifQ&limit=120,
 context: ngx.timer
   2022/11/14 15:32:16 [info] 485#485: *2091522897 [lua] 
informer_factory.lua:218: watch(): 
--raw=/api/v1/endpoints?resourceVersion=474261305&watch=true&allowWatchBookmarks=true&timeoutSeconds=1908,
 context: ngx.timer


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