mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
ndb - Fix so that node version is recomputed at node failure
This commit is contained in:
parent
1e0418cfa2
commit
6b738220d9
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