mariadb/ndb/include
unknown f4b5600083 WL#2347 - Load independent heartbeats
Reset missed heartbeat count on receipt of signal from node.

This fixes a bug where that under high network load, the heartbeat packets could be
delayed, causing the appearance of node failure (due to lost heartbeats).


ndb/include/kernel/NodeInfo.hpp:
  Add m_heartbeat_cnt to track missed heartbeats
ndb/include/transporter/TransporterCallback.hpp:
  add prototype for transporter_recv_from()
  
  Called on receipt from a node.
ndb/src/common/transporter/TransporterRegistry.cpp:
  Add calls to transporter_receive_from when data is received (before unpack)
ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
  remove NodeRec::alarmCount. missed heartbeat count now kept in NodeInfo
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
  Use NodeInfo::m_heartbeat_cnt for missed heartbeat count
ndb/src/kernel/vm/TransporterCallback.cpp:
  add transporter_recv_from(), which is called on receipt of signals.
  It resets missed heartbeat count for that node.
ndb/src/ndbapi/ClusterMgr.cpp:
  Use NodeInfo::m_heartbeat_cnt for missed heartbeat count
ndb/src/ndbapi/ClusterMgr.hpp:
  Use NodeInfo::m_heartbeat_cnt instead of ClusterMgr::Node::hbSent for missed
  heartbeat count.
  
  We now use the same storage for API and Kernel heartbeats.
  
  Add ClusterMgr::hb_received(nodeId) to reset hbSent (as if we received a heartbeat,
  but callable from elsewhere - e.g. when signal received)
ndb/src/ndbapi/TransporterFacade.cpp:
  Implement transporter_recv_from for ndbapi - which resets hbSent
ndb/src/ndbapi/TransporterFacade.hpp:
  Add hb_received(nodeId)
2005-07-22 20:29:25 +10:00
..
debugger ndb - wl-2451: Increase max schema object to > 1600 2005-04-10 22:43:17 +02:00
editline Initial revision of NDB Cluster files 2004-04-14 10:53:21 +02:00
kernel WL#2347 - Load independent heartbeats 2005-07-22 20:29:25 +10:00
logger fixed so that last repeats are printed first with correct time if another message comes 2004-12-22 22:47:56 +01:00
mgmapi Bug #11019 mgmapi start backup in some cases returns wrong backupid 2005-06-02 01:13:23 +02:00
mgmcommon BUG#11516 ndb_mgmd debug core on cluster shutdown with failed data nodes 2005-07-07 15:19:56 +10:00
ndbapi Merge mysql.com:/home/jonas/src/mysql-4.1 2005-07-20 13:25:52 +02:00
newtonapi portability/autoconf fixes and removed warnings 2004-05-12 06:24:12 +02:00
portlib added debug prints 2005-07-14 18:02:32 +02:00
transporter WL#2347 - Load independent heartbeats 2005-07-22 20:29:25 +10:00
util Merge 2005-07-15 01:41:59 +02:00
Makefile.am Merge 2005-01-28 00:47:41 +01:00
ndb_constants.h ndb - wl-1203 alignment fix 2005-02-26 16:56:39 +01:00
ndb_global.h.in Merge mysql.com:/home/jonas/src/mysql-4.1 2005-01-19 10:07:14 +01:00
ndb_init.h added ndb_init.h to distribution 2004-12-21 10:37:12 +01:00
ndb_net.h lots of HAVE_ and some ndb_global fixes for ndb subtree 2004-05-11 14:39:17 +02:00
ndb_types.h.in changes ndb types include 2005-01-04 13:12:22 +01:00
ndb_version.h.in stilled mem leak in usage on getVersionString 2005-07-14 18:02:33 +02:00