Skip to content

Commit 631ea24

Browse files
Marcus Sorensenchaturvedia
authored andcommitted
CLOUDSTACK-6000: When expunging fails, move volume state back to
Destroy, so that the cleanup thread will try again on next run. (cherry picked from commit 1aa1b3e) Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
1 parent 4809d91 commit 631ea24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/com/cloud/storage/Volume.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public String getDescription() {
8282
s_fsm.addTransition(Destroy, Event.ExpungingRequested, Expunging);
8383
s_fsm.addTransition(Expunging, Event.ExpungingRequested, Expunging);
8484
s_fsm.addTransition(Expunging, Event.OperationSucceeded, Expunged);
85-
s_fsm.addTransition(Expunging, Event.OperationFailed, Expunging);
85+
s_fsm.addTransition(Expunging, Event.OperationFailed, Destroy);
8686
s_fsm.addTransition(Ready, Event.SnapshotRequested, Snapshotting);
8787
s_fsm.addTransition(Snapshotting, Event.OperationSucceeded, Ready);
8888
s_fsm.addTransition(Snapshotting, Event.OperationFailed, Ready);

0 commit comments

Comments
 (0)