Kong / lua-resty-dns-client

Lua DNS client, load balancer, and utility library
http://kong.github.io/lua-resty-dns-client/topics/README.md.html
Apache License 2.0
152 stars 52 forks source link

Failed to run atomically, multiple threads updating balancer simultaneously #135

Open zjlooojoe opened 3 years ago

zjlooojoe commented 3 years ago

image

2021/08/23 06:44:51 [error] 1827#0: *18477198099 lua entry thread aborted: runtime error: /usr/share/lua/5.1/resty/dns/balancer/base.lua:389: Failed to run atomically, multiple threads updating balancer simultaneously stack traceback: coroutine 0: [C]: in function 'assert' /usr/share/lua/5.1/resty/dns/balancer/base.lua:389: in function 'assert_atomicity' /usr/share/lua/5.1/resty/dns/balancer/base.lua:573: in function 'queryDns' /usr/share/lua/5.1/resty/dns/balancer/base.lua:1206: in function 'cb_expire' /usr/share/lua/5.1/resty/timer.lua:87: in function </usr/share/lua/5.1/resty/timer.lua:51>, context: ngx.timer hi, there is a bug that i can not find the reason, can you give me some tips? I am using 1.5.0 kong.It seem report every moment, but kong still work fine.

zjlooojoe commented 3 years ago

plz let me know if you need more information.