Commit 0450e21c authored by unknown's avatar unknown

MgmtSrvr.cpp:

  Added ability to force heartbeat


ndb/src/mgmsrv/MgmtSrvr.cpp:
  Added ability to force heartbeat
parent 10ce6d0b
...@@ -61,6 +61,8 @@ ...@@ -61,6 +61,8 @@
#define DEBUG(x) #define DEBUG(x)
#endif #endif
extern int global_flag_send_heartbeat_now;
static static
void void
CmdBackupCallback(const MgmtSrvr::BackupEvent & event) CmdBackupCallback(const MgmtSrvr::BackupEvent & event)
...@@ -2399,6 +2401,7 @@ MgmtSrvr::alloc_node_id(NodeId * nodeId, ...@@ -2399,6 +2401,7 @@ MgmtSrvr::alloc_node_id(NodeId * nodeId,
#endif #endif
return true; return true;
} }
global_flag_send_heartbeat_now= 1;
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment