Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Overview of the Issue
While you can send vtgate a
SIGHUPto reload it'smysql_auth_server_static_fileJSON credentials file, I noticed during some testing that aSIGHUPwill actually kill vtgate entirely ifmysql_auth_server_implis set tononeor if bothmysql_auth_server_static_fileandmysql_auth_server_static_stringare empty.Reproduction Steps
mysql_auth_server_impl none:kill -1 $(pgrep vtgate)Binary version
Version: 945e105aa (Git branch 'master') built on Tue Jun 9 11:20:38 PDT 2020 by gary@xj13 using go1.14 linux/amd64Log Fragments
I didn't notice anything relevant/useful in Vitess' logs.
strace of vtgate being killed by via
SIGHUP: