File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
storage/ndb/src/kernel/blocks/dbtc Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4887,7 +4887,20 @@ void Dbtc::sendlqhkeyreq(Signal* signal,
48874887 else
48884888 {
48894889 jamDebug();
4890- ndbrequire(refToMain(TBRef) == DBLQH);
4890+ /*
4891+ * LQHKEYREQ signals to query threads should use virtual block V_QUERY
4892+ * not address DBQLQH directly.
4893+ *
4894+ * The receiver will select an appropriate DBLQH or DBQLQH instance.
4895+ *
4896+ * All node versions (>=8.0.23) supporting virtual query blocks also
4897+ * support fragmented LQHKEYREQ and should not end up in this else
4898+ * branch.
4899+ *
4900+ * Only DBSPJ and DBLQH are intended receivers for LQHKEYREQ signals to
4901+ * old nodes (<8.0.18) not supporting fragmented LQHKEYREQ.
4902+ */
4903+ ndbrequire(refToMain(TBRef) == DBLQH || refToMain(TBRef) == DBSPJ);
48914904 sendSignal(TBRef, GSN_LQHKEYREQ, signal,
48924905 nextPos + LqhKeyReq::FixedSignalLength, JBB,
48934906 &handle);
You can’t perform that action at this time.
0 commit comments