whywaita / myshoes

Auto-scaling VirtualMachine runner 🏃 for GitHub Actions
MIT License
135 stars 14 forks source link

Delete LOCK from MySQL #145

Open whywaita opened 2 years ago

whywaita commented 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).

whywaita commented 2 years ago

Proposal: