mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
ndb - Fix so that node version is recomputed at node failure
storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: Fix so that node version is recomputed at node failure
This commit is contained in:
parent
8dca186c35
commit
52d0dbd725
1 changed files with 2 additions and 0 deletions
|
@ -3526,8 +3526,10 @@ void Qmgr::execCOMMIT_FAILREQ(Signal* signal)
|
|||
nodePtr.p->phase = ZFAIL_CLOSING;
|
||||
nodePtr.p->failState = WAITING_FOR_NDB_FAILCONF;
|
||||
setNodeInfo(nodePtr.i).m_heartbeat_cnt= 0;
|
||||
setNodeInfo(nodePtr.i).m_version = 0;
|
||||
c_clusterNodes.clear(nodePtr.i);
|
||||
}//for
|
||||
recompute_version_info(NodeInfo::DB);
|
||||
/*----------------------------------------------------------------------*/
|
||||
/* WE INFORM THE API'S WE HAVE CONNECTED ABOUT THE FAILED NODES. */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Reference in a new issue