Commit f7c6b133 authored by jonas@eel.(none)'s avatar jonas@eel.(none)

ndb - fix bug is NODE_VERSION_REP

  Fix assertion in corner-case where signal isnt sent to any node
parent 162aa18e
......@@ -2828,7 +2828,8 @@ Qmgr::sendVersionedDb(NodeReceiverGroup rg,
sendSignal(numberToRef(rg.m_block, i), gsn, signal, length, jbuf);
}
}
ndbassert(cnt < rg.m_nodes.count());
ndbassert((cnt == 0 && rg.m_nodes.count() == 0) ||
(cnt < rg.m_nodes.count()));
}
}
......
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