Force release a project lock
Changed onDrops the lease whatever token holds it, for recovering a lock whose holder died without releasing. Use DELETE /locks/{key}/lease for normal release.
This breaks mutual exclusion by itself: the previous holder keeps working until its own renewal fails. Guard the protected resource with the lease's fencing_token, which the next acquisition raises, so a write from the displaced holder can be rejected. Succeeds when the lock is already absent.
Request
- Base URLhttps://api.volcano.dev
- AuthHTTP bearer
Path parameters
Project-local lock name.
Headers
UUID correlating this request across client and server logs. Repeat safety comes from the lock token, so a retry under a reused request ID still counts against the quota.
Response
Lock released
Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status
12 more changes in this revision
- breaking