Lockgate is a cross-platform distributed locking library for Go. Supports distributed locks backed by Kubernetes or HTTP lock server. Supports conventional OS file locks.
Apache License 2.0
256
stars
15
forks
source link
Try-lock for file-locks may not working properly #13
Multiple calls to try-lock from multiple goroutines results in exclusive locks being taken in multiple goroutines simultaneously.
Steps to reproduce needed.