Open whywaita opened 2 years ago
myshoes check the status of LOCK in MySQL during starting. https://github.com/whywaita/myshoes/blob/a0c7eabcfcdca2b1e392eea5bba9c5b95eed42a1/cmd/server/cmd.go#L78
But this implementation has a bug. A deadlock occurred in some environments like Kubernetes (from high-frequency restart).
Proposal:
owner
job
CONNECTION_ID()
myshoes check the status of LOCK in MySQL during starting. https://github.com/whywaita/myshoes/blob/a0c7eabcfcdca2b1e392eea5bba9c5b95eed42a1/cmd/server/cmd.go#L78
But this implementation has a bug. A deadlock occurred in some environments like Kubernetes (from high-frequency restart).