2026-08-18 11:00 UTC
MySQL's GET_LOCK hands you a distributed lock; the session can take it back without telling you. Pools swap connections, idle reapers kill sessions, a wedged connection just looks open. In nurago, the mysqllock package pins one connection, pings it on a bounded clock, and reports presumed loss. Also covered: cases where no lock is the better tool.
https://tecnick.com/articles/nurago-mysqllock/
#golang #mysql
Replies (0)
No replies.