Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout设置问题. #618

Open
smallevil opened this issue Apr 18, 2022 · 0 comments
Open

timeout设置问题. #618

smallevil opened this issue Apr 18, 2022 · 0 comments

Comments

@smallevil
Copy link

当interactive_timeout和wait_timeout有任意一个值小于20时,kingshard的sys.log里会每隔几秒产生一条报错记录:
ERROR - node.go:[104] - [Node] "checkMaster" "Ping" "db.Addr=127.0.0.1:3306|error=connection was bad" conn_id=0
但不影响连接mysql,也不影响执行sql语句.

只有两个值同时大于20时,才不会报这个错.
有哪个有经验的大哥能回答一下,在使用mysql proxy时,这两个值设多少合适?
谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant