mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
ndb: only inject events (ACTIVE, NODE_FAILURE, CLUSTER_FAILURE) if bit shows connected
This commit is contained in:
parent
bbe3008a49
commit
6765e30aa0
1 changed files with 10 additions and 4 deletions
|
@ -1615,13 +1615,19 @@ NdbEventBuffer::insert_event(NdbEventOperationImpl* impl,
|
|||
{
|
||||
do
|
||||
{
|
||||
oid_ref = impl->m_oid;
|
||||
insertDataL(impl, &data, ptr);
|
||||
if (impl->m_node_bit_mask.get(0u))
|
||||
{
|
||||
oid_ref = impl->m_oid;
|
||||
insertDataL(impl, &data, ptr);
|
||||
}
|
||||
NdbEventOperationImpl* blob_op = impl->theBlobOpList;
|
||||
while (blob_op != NULL)
|
||||
{
|
||||
oid_ref = blob_op->m_oid;
|
||||
insertDataL(blob_op, &data, ptr);
|
||||
if (blob_op->m_node_bit_mask.get(0u))
|
||||
{
|
||||
oid_ref = blob_op->m_oid;
|
||||
insertDataL(blob_op, &data, ptr);
|
||||
}
|
||||
blob_op = blob_op->m_next;
|
||||
}
|
||||
} while((impl = impl->m_next));
|
||||
|
|
Loading…
Reference in a new issue