• unknown's avatar
    bug#8786 - ndb autodiscover, sometimes fails · 6b38100d
    unknown authored
      remove dict forwarding
      add api retries on NotMaster
      
    
    
    ndb/include/kernel/signaldata/AlterIndx.hpp:
      Add NotMaster error code
    ndb/include/kernel/signaldata/BuildIndx.hpp:
      Add NotMaster error code
    ndb/include/kernel/signaldata/CreateIndx.hpp:
      Add NotMaster error code
    ndb/include/kernel/signaldata/CreateTrig.hpp:
      Add NotMaster error code
    ndb/include/kernel/signaldata/DropIndx.hpp:
      Add NotMaster error code
    ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
      Never forward requests,
        instead REF to API who will retry towards correct node
    ndb/src/ndbapi/NdbDictionaryImpl.cpp:
      1) Set error code for timeout
      2) Handle NotMaster with retry in all DICT requests
    ndb/src/ndbapi/ndb_cluster_connection.cpp:
      Fix so that input values is in seconds and not 100ms's
    sql/ha_ndbcluster.cc:
      Wait 3 sec for all nodes to connect...
    6b38100d
CreateTrig.hpp 10.9 KB