twitter-archive / mysos

Cotton (formerly known as Mysos)
https://incubator.apache.org/projects/cotton.html
589 stars 67 forks source link

Interrupt the backup restore process if the user deletes the cluster while the instance is still restoring... #28

Open xujyan opened 9 years ago

xujyan commented 9 years ago

Current When you delete a cluster Mysos doesn’t interrupt the restore process… it only deletes it after it’s done. This means if your restore takes a hour you have to wait that long for the resources to be released...

We should instead interrupt any executor subprocess and kill it right away.