Commit 87684824 authored by unknown's avatar unknown

ndb: only inject events (ACTIVE, NODE_FAILURE, CLUSTER_FAILURE) if bit shows connected

parent df3494ca
...@@ -1615,13 +1615,19 @@ NdbEventBuffer::insert_event(NdbEventOperationImpl* impl, ...@@ -1615,13 +1615,19 @@ NdbEventBuffer::insert_event(NdbEventOperationImpl* impl,
{ {
do do
{ {
oid_ref = impl->m_oid; if (impl->m_node_bit_mask.get(0u))
insertDataL(impl, &data, ptr); {
oid_ref = impl->m_oid;
insertDataL(impl, &data, ptr);
}
NdbEventOperationImpl* blob_op = impl->theBlobOpList; NdbEventOperationImpl* blob_op = impl->theBlobOpList;
while (blob_op != NULL) while (blob_op != NULL)
{ {
oid_ref = blob_op->m_oid; if (blob_op->m_node_bit_mask.get(0u))
insertDataL(blob_op, &data, ptr); {
oid_ref = blob_op->m_oid;
insertDataL(blob_op, &data, ptr);
}
blob_op = blob_op->m_next; blob_op = blob_op->m_next;
} }
} while((impl = impl->m_next)); } while((impl = impl->m_next));
......
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