1
/* Copyright (C) 2003 MySQL AB
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
16
#ifndef READ_NODESCONF_HPP
17
#define READ_NODESCONF_HPP
19
#include <NodeBitmask.hpp>
22
* This signals is sent by Qmgr to NdbCntr
23
* and then from NdbCntr sent to: dih, dict, lqh, tc
25
* NOTE Only noOfNodes & allNodes are valid when sent from Qmgr
34
* Sender(s) / Reciver(s)
50
friend bool printREAD_NODES_CONF(FILE*, const Uint32 *, Uint32, Uint16);
52
STATIC_CONST( SignalLength = 3 + 5*NdbNodeBitmask::Size );
60
* NOTE Not valid when send from Qmgr
65
* This array defines all the ndb nodes in the system
68
Uint32 allNodes[NdbNodeBitmask::Size];
69
Uint32 definedNodes[NdbNodeBitmask::Size];
73
* This array describes wheather the nodes are currently active
75
* NOTE Not valid when send from Qmgr
77
Uint32 inactiveNodes[NdbNodeBitmask::Size];
79
Uint32 clusterNodes[NdbNodeBitmask::Size]; // From Qmgr
80
Uint32 startingNodes[NdbNodeBitmask::Size]; // From Cntr
81
Uint32 startedNodes[NdbNodeBitmask::Size]; // From Cntr