blazar/releasenotes/notes/prevent-delete-during-events-c206a8f0a116798c.yaml
Pierre Riteau 00760ae25b Prevent leases from being deleted during event execution
A user can request to delete a lease while it is changing state via
event execution, which can trigger an error condition as on_end will
attempt to delete the corresponding aggregate.

This commit prevents a lease from being deleted while its start_lease or
end_lease events are in progress.

Change-Id: I73bde0219b6ea30d16564fd2507fd59d52cbfa6a
Closes-Bug: #1791741
2019-02-18 17:52:47 +00:00

8 lines
275 B
YAML

---
fixes:
- |
Blazar now prevents leases from being deleted while their start_lease or
end_lease events are in progress, to avoid concurrently accessing shared
objects. For more details, see `bug 1791741
<https://bugs.launchpad.net/blazar/+bug/1791741>`_.