Replace twitter commons dirutil Lock with lockfile wrapper

Review Request #1390 - Created Nov. 22, 2014 and submitted

Information
David Taylor
pants
816
8204443...
Reviewers
pants-reviews
benjyw, jsirois, patricklaw, zundel

Every now and then we see a pants process die without cleaning up its pidfile and subsequent runs in the same workspace hang forever.

This change replaces the twitter-commons dirutil.Lock with a thin wrapper around lockfile's PIDLockFile, adding printing of the owner process commandline and automatic breaking of the lock if the owner process is not found.

https://travis-ci.org/pantsbuild/pants/builds/41927300

Patrick Lawson
David Taylor
Eric Ayers
David Taylor
Review request changed

Status: Closed (submitted)

Change Summary:

c46ca97f926bb3851f556e1c346864ac59aa35be
Loading...