21 #include "SignalData.hpp"
22 #include <NodeBitmask.hpp>
37 friend bool printFAIL_REP(FILE *,
const Uint32 *, Uint32, Uint16);
40 STATIC_CONST( OrigSignalLength = 2 );
41 STATIC_CONST( PartitionedExtraLength = 1 + NdbNodeBitmask::Size );
42 STATIC_CONST( SourceExtraLength = 1 );
43 STATIC_CONST( SignalLength = OrigSignalLength + SourceExtraLength );
47 ZOTHER_NODE_WHEN_WE_START=1,
52 ZOTHERNODE_FAILED_DURING_START=6,
53 ZMULTI_NODE_SHUTDOWN = 7,
54 ZPARTITIONED_CLUSTER = 8,
55 ZCONNECT_CHECK_FAILURE = 9
58 Uint32 getFailSourceNodeId(Uint32 sigLen)
const
67 if (failCause == ZPARTITIONED_CLUSTER)
69 return (sigLen == (SignalLength + PartitionedExtraLength)) ?
70 partitioned.partitionFailSourceNodeId :
74 return (sigLen == SignalLength) ? failSourceNodeId :
89 Uint32 partition[NdbNodeBitmask::Size];
90 Uint32 partitionFailSourceNodeId;
92 Uint32 failSourceNodeId;