this helps with silencing the clang analyzer also.
Signed-off-by: Kefu Chai <kchai@redhat.com>
// defying PaxosService and all laws of nature. Therefore, as we may
// be used during 'osd purge', let's keep the caller responsible for
// proposing.
-
+ assert(err == 0);
return 0;
}
} else {
may_be_idempotent = false;
}
- assert(0 == err);
}
+ assert(0 == err);
if (may_be_idempotent && !osdmap.exists(id)) {
dout(10) << __func__ << " osd." << id << " does not exist and "