Homec4science

Implement a MySQL-backed global lock

Authored by epriestley <git@epriestley.com> on Jun 27 2012, 22:59.

Description

Implement a MySQL-backed global lock

Summary: Implementation is a little crazy but this seems to work as advertised.

Test Plan: Acquired locks with "lock.php". Verified they held as long as the process reamined open and released properly on kill -9, ^C, etc.

Reviewers: nh, jungejason, vrana, btrahan, Girish, edward

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1400

Differential Revision: https://secure.phabricator.com/D2864

Details

Committed
epriestley <git@epriestley.com>Jun 27 2012, 22:59
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0a7973488f5e: Simplify DifferentialHunk::getAddedLines()
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH692e54ee36fb: Implement a MySQL-backed global lock (authored by epriestley <git@epriestley.com>).Jun 27 2012, 22:59