-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Does MySQLRouter Exporter connect with (either incoming or outgoing) MySQL? #67
Comments
As you said, the exporter doesn't connect to MySQL but to the MySQL Router. Your output is strange. BTW, How many seconds did you wait after sending the SIGTERM, SIGINT, Interrupt to an exporter to check its output? |
Agreed the output is very strange. I dug a little deeper and realized that the default @rluisr Is it sensible to change the default
|
I don't know if I can solve this problem, but I will change the default listen port to |
In my opinion, changing the default listen port to |
I have released |
Thanks! Testing now. Will report back here once issue stabilization confirmed (testing in canonical/mysql-router-operator#158) |
@rluisr We havent yet been able to adopt |
This issue is related to the time_wait issue that resulted in the implementation of graceful shutdowns.
I am still noticing connections in
TIME_WAIT
when I shutdown mysqlrouter-exporter:The address
10.1.241.239:3306
is for the mysql pod that I have in my deployment:My question would be where in the router-exporter code do we connect with MySQL? Or is there a way MySQL can connect to the router exporter? If so, how? I have traced all the code in this repo as well as mysqlrouter-go repo, but fail to see connections with MySQL
Some additional context:
mysql-router-k8s
has an integration withmysql-k8s
.mysql-router-k8s
is using a self-signed TLS certificateThe text was updated successfully, but these errors were encountered: