[BugFix: delete duplicate volume gc
@@ -190,6 +190,13 @@ public abstract class GarbageCollector {
GarbageCollector self = this;
EXECUTED_TIMES++;
+ boolean isExisting = Q.New(GarbageCollectorVO.class).eq(GarbageCollectorVO_.uuid, getUuid()).isExists();
+ if (!isExisting) {
+ canceller.run();
+ gcMgr.deregisterGC(self);
+ return;
+ }
+
try {
triggerNow(new GCCompletion(null) {
@Override
