Commit 865df54a authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Revert "Remove a racy assert"

This reverts commit 462eab25.

That assert was there for a good reason.
parent 462eab25
......@@ -980,6 +980,9 @@ VBF_Fetch(struct worker *wrk, struct req *req, struct objcore *oc,
(void)VRB_Ignore(req);
} else {
ObjWaitState(oc, BOS_STREAM);
if (oc->boc->state == BOS_FAILED) {
AN((oc->flags & OC_F_FAILED));
}
}
}
AZ(bo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment