If an exception occurs when saving the artifact (e.g. due to a duplicate key exception), then we need to release the lease otherwise it will be orphaned and hold resources open.
This fixes it so that the lease is released if needed.
|  Differential  D13751  
[harbormaster/core] Fix issue where exception during artifact save would result in orphaned lease Authored by hach-que on Jul 29 2015, 1:02 AM. Tags None Referenced Files 
 
 
 
 
 
 
 
 Subscribers 
Details 
 If an exception occurs when saving the artifact (e.g. due to a duplicate key exception), then we need to release the lease otherwise it will be orphaned and hold resources open. This fixes it so that the lease is released if needed. Not tested. 
Diff Detail 
 
 |