Closed 0xDEC0DE closed 4 months ago
for x in {1..8} do go run main.go overlay & done wait
All commands try to grab the lock, patiently wait their turn, run, and exit successfully.
7 of the commands will say:
ERR error overlaying repositories err="could not acquire lock on gilt.lock: fslock: lock is held"
...and exit 1, and the eighth will grab the lock and run to completion
Implemented in #203
I have a CI pipeline that is unable to run successfully due to this bug. I can haz release?
Sorry about that, I got a bit laziez, released v2.2.2
Steps to reproduce
Expected result
All commands try to grab the lock, patiently wait their turn, run, and exit successfully.
Actual behavior
7 of the commands will say:
...and exit 1, and the eighth will grab the lock and run to completion