review comment

This commit is contained in:
sramamoorthy 2019-07-29 15:09:32 -07:00 committed by Alex Miller
parent 63941e0d96
commit a88aaa0f04
1 changed files with 4 additions and 2 deletions

View File

@ -4163,12 +4163,14 @@ ACTOR Future<Void> ddSnapCreate(DistributorSnapRequest snapReq, Reference<AsyncV
snapReq.reply.sendError(e);
} else {
// enable DD should always succeed
ASSERT(setDDEnabled(true, snapReq.snapUID));
bool success = setDDEnabled(true, snapReq.snapUID);
ASSERT(success);
throw e;
}
}
// enable DD should always succeed
ASSERT(setDDEnabled(true, snapReq.snapUID));
bool success = setDDEnabled(true, snapReq.snapUID);
ASSERT(success);
return Void();
}