mirror of
https://github.com/MariaDB/server.git
synced 2025-07-20 10:24:14 +03:00
wl 1748
ndb/include/kernel/NodeInfo.hpp: alligning node numbering ndb/include/kernel/NodeState.hpp: added connected nodes to NodeState ndb/include/kernel/signaldata/ApiRegSignalData.hpp: moved to NodeState ndb/include/mgmapi/mgmapi.h: alligning node numbering ndb/include/mgmapi/mgmapi_config_parameters.h: new config port_base param on system ndb/include/util/Bitmask.hpp: POD Bitmask ndb/include/util/SocketAuthenticator.hpp: SocketAut fix ndb/src/common/mgmcommon/ConfigInfo.cpp: added new config param ndb/src/common/transporter/Transporter.cpp: alligning node numbering ndb/src/common/transporter/TransporterRegistry.cpp: alligning node numbering ndb/src/common/util/SocketAuthenticator.cpp: alligning node numbering ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: moved connected nodes to NodeState ndb/src/mgmsrv/MgmtSrvr.cpp: allocation and delallocation of resources in mgmsrvr connected bitmask on each node status together with reserved nodes that are reserved as long as session is active + check that hostname is same as client name ndb/src/mgmsrv/MgmtSrvr.hpp: allocation and delallocation of resources in mgmsrvr connected bitmask on each node status together with reserved nodes that are reserved as long as session is active ndb/src/mgmsrv/Services.cpp: added destuctor for apisession ndb/src/mgmsrv/Services.hpp: .. ndb/src/mgmsrv/main.cpp: print node id ndb/src/ndbapi/ClusterMgr.cpp: .. ndb/src/ndbapi/ClusterMgr.hpp: ..
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
#define NODE_STATE_HPP
|
||||
|
||||
#include <NdbOut.hpp>
|
||||
#include <NodeBitmask.hpp>
|
||||
|
||||
class NodeState {
|
||||
public:
|
||||
@ -99,7 +100,7 @@ public:
|
||||
/**
|
||||
* Length in 32-bit words
|
||||
*/
|
||||
static const Uint32 DataLength = 8;
|
||||
static const Uint32 DataLength = 8 + NdbNodeBitmask::Size;
|
||||
|
||||
/**
|
||||
* Constructor(s)
|
||||
@ -146,6 +147,8 @@ public:
|
||||
Uint32 singleUserMode;
|
||||
Uint32 singleUserApi; //the single user node
|
||||
|
||||
BitmaskPOD<NdbNodeBitmask::Size> m_connected_nodes;
|
||||
|
||||
void setDynamicId(Uint32 dynamic);
|
||||
void setNodeGroup(Uint32 group);
|
||||
void setSingleUser(Uint32 s);
|
||||
@ -182,6 +185,7 @@ NodeState::NodeState(){
|
||||
dynamicId = 0xFFFFFFFF;
|
||||
singleUserMode = 0;
|
||||
singleUserApi = 0xFFFFFFFF;
|
||||
m_connected_nodes.clear();
|
||||
}
|
||||
|
||||
inline
|
||||
|
Reference in New Issue
Block a user