Commit 448edca9 authored by unknown's avatar unknown

ndb - fix bug is NODE_VERSION_REP

  Fix assertion in corner-case where signal isnt sent to any node


storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
  Fix corner-case where signal isnt sent to any node
parent b6c7fb39
...@@ -2828,7 +2828,8 @@ Qmgr::sendVersionedDb(NodeReceiverGroup rg, ...@@ -2828,7 +2828,8 @@ Qmgr::sendVersionedDb(NodeReceiverGroup rg,
sendSignal(numberToRef(rg.m_block, i), gsn, signal, length, jbuf); 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