• unknown's avatar
    bug#28445 - Heartbeat does not start until first API_REGREQ is recevied · bcd2abaa
    unknown authored
    - move api failure handling into own method
    - add START_ORD so that hb checking can start really early
    
    
    storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
      - make sure qmgr is "fully" informed about connections so that it can handle hb correctly
      - dont allow API/mysqld node to reconnect if we have not started yet (sp 8)
    storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
      - move api failure handling into own method
      - add START_ORD so that hb checking can start really early
    storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
      - move api failure handling into own method
      - add START_ORD so that hb checking can start really early
      - Init datastructures in constructor
      - as CONNECT_REP may occur before start phases
    storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
      - Init datastructures in constructor
      - as CONNECT_REP may occur before start phases
      - start hb handling directly on connect rep (instead of first hb)
    bcd2abaa
Cmvmi.cpp 37.1 KB