« Previous | Next » 

Revision 40a815f8


Added by Christos Stavrakakis about 7 years ago

cyclades: Fix DB locking issues causing deadlocks

Fix deadlock issues that is caused by Postgresql's locks on foreign
keys. For example, creation of a BackendNetwork row will result in a
shared lock in the 'backend_id' rows. Because updating a VM's NICs
acquired an exclusive lock on the backend that the VM lived, this
resulted in a deadlock.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences