mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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_INFO_HPP
|
||||
|
||||
#include <NdbOut.hpp>
|
||||
#include <mgmapi_config_parameters.h>
|
||||
|
||||
class NodeInfo {
|
||||
public:
|
||||
@ -27,10 +28,10 @@ public:
|
||||
* NodeType
|
||||
*/
|
||||
enum NodeType {
|
||||
DB = 0, ///< Database node
|
||||
API = 1, ///< NDB API node
|
||||
MGM = 2, ///< Management node (incl. NDB API)
|
||||
REP = 3, ///< Replication node (incl. NDB API)
|
||||
DB = NODE_TYPE_DB, ///< Database node
|
||||
API = NODE_TYPE_API, ///< NDB API node
|
||||
MGM = NODE_TYPE_MGM, ///< Management node (incl. NDB API)
|
||||
REP = NODE_TYPE_REP, ///< Replication node (incl. NDB API)
|
||||
INVALID = 255 ///< Invalid type
|
||||
};
|
||||
NodeType getType() const;
|
||||
|
Reference in New Issue
Block a user