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
F14763719: D12253.diff
Thu, Jan 23, 12:28 PM
Unknown Object (File)
Nov 27 2024, 11:19 AM
Unknown Object (File)
Nov 18 2024, 5:34 PM
Unknown Object (File)
Nov 5 2024, 8:23 PM
Unknown Object (File)
Oct 21 2024, 3:33 AM
Unknown Object (File)
Oct 15 2024, 3:42 PM
Unknown Object (File)
Oct 15 2024, 1:48 PM
Unknown Object (File)
Oct 11 2024, 9:17 AM
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.