« Previous | Next » 

Revision f90c3d8c

IDf90c3d8c504fd3c3c0f125d33d522efb46f4b9b7

Added by Vangelis Koukis almost 13 years ago

Make server deletion complete asynchronously

Make server deletion complete asynchronously, by only setting
the deleted flag for an instance of the VirtualMachine model when
an OP_INSTANCE_REMOVE operation completes successfully at the backend.

This means that DELETE /servers/id returns HTTP 204, the server
remains visible for some time, then eventually the instance removal
operation completes, the deleted flag is set and the server disappears
from GET /servers.

Fixes #721

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences