Commit d47cf903 authored by Nils Goroll's avatar Nils Goroll

remove a racy assertion

this was intended to weed out additional errors, but right after the
set_closed & unluck, the topreq thread may deliver our node
parent 5a03b1ef
...@@ -945,11 +945,6 @@ ved_task(struct worker *wrk, void *priv) ...@@ -945,11 +945,6 @@ ved_task(struct worker *wrk, void *priv)
Lck_Lock(&pesi_tree->tree->tree_lock); Lck_Lock(&pesi_tree->tree->tree_lock);
set_closed(pesi_tree->tree, node); set_closed(pesi_tree->tree, node);
Lck_Unlock(&pesi_tree->tree->tree_lock); Lck_Unlock(&pesi_tree->tree->tree_lock);
if (VSTAILQ_EMPTY(&node->nexus.children))
assert(node->state == ST_DELIVERED);
else
assert(node->state == ST_CLOSED);
break; break;
default: default:
INCOMPL(); INCOMPL();
......
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