« Previous | Next » 

Revision 85919a0f

ID85919a0fa576de942aa0fdd48082fe54e2eb721b

Added by Christos Stavrakakis about 9 years ago

Fix deadlock when creating server

Fix deadlock when creating a server that was introduced by commit
501053a. Allocating the public IP in the same transaction with creating
the server resulted in a deadlock with backend allocator, because
inserting the new VM in the database waits on an exclusive lock of the
backend (foreign key).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences