Page MenuHomePhabricator

Fix an issue where we would try to release an unheld lock
ClosedPublic

Authored by epriestley on Apr 1 2015, 11:23 PM.
Tags
None
Referenced Files
F13296062: D12253.diff
Thu, Jun 6, 10:35 AM
F13292296: D12253.id.diff
Wed, Jun 5, 3:10 AM
F13285554: D12253.id29433.diff
Mon, Jun 3, 11:01 PM
F13218958: D12253.diff
Sat, May 18, 2:11 PM
F13216669: D12253.diff
Sat, May 18, 1:51 AM
F13201088: D12253.id29436.diff
Tue, May 14, 7:54 AM
F13200255: D12253.diff
Mon, May 13, 10:44 PM
F13182477: D12253.diff
Thu, May 9, 11:30 PM
Subscribers

Details

Summary

Fixes T7484. If the lock failed, we'd still try to unlock it, which is incorrect.

Test Plan

Ran two bin/repository update X in different windows, got proper LockException instead of indirect symptomatic "not locked by this process" exception.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix an issue where we would try to release an unheld lock.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 2 2015, 12:08 AM
This revision was automatically updated to reflect the committed changes.