« Previous | Next » 

Revision 40a815f8

ID40a815f884044ceb0656ee063cfcf671a92ae1a6

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences