Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fix LP 1536378 #190
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils |
|
Build failed: Tests failed |
|
Bullshit, https://bugs.launchpad.net/juju-core/+bug/1536477 $$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils |
|
Build failed: Tests failed |
|
CI bot is fucked up, cannot tell time. |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils |
added a commit
that referenced
this pull request
Jan 21, 2016
jujubot
merged commit 93acddd
into
juju:master
Jan 21, 2016
added a commit
to rogpeppe/juju-utils
that referenced
this pull request
Jan 21, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
davecheney commentedJan 21, 2016
Fixes LP #1536378
The logic inside isAlive was wrong, it was never executing the wait loop
so if two independent processes called isAlive (via clean) then they would
both think the lock is stale and attempt to break it.
The number of loop iterations if the alive file cannot be read is set to
an arbitrary value which will limit the max delay in tying to lock a dead lock
to 300 seconds.
(Review request: http://reviews.vapour.ws/r/3585/)