mysql-operator
mysql-operator copied to clipboard
mysql TCP long connect not broken
after orchestrator switch,mysql master ‘s service connect should hava a change,but old master not dead and old long connect to old master not broken。 this problem hava cause problems。 that connection before switching still hava a write in,so hava a error about “mysql is Read-only,cat's ****”. new conncetion is good。 this is a bug,need to take,please give me an answer
This is not operator bug.
kubernetes/kubernetes#100698 kubernetes/kubernetes#108523
This problem can be solved with orchestrator hooks. You can use PostGracefulTakeoverProcesses to reset all connections on old master via script.
yes,it's kubernetes ’s problem,I'm already aware of it。thanks