• unknown's avatar
    ndb - bug#20185 · 49a4c85b
    unknown authored
      Dont be too aggressive in Dbtc::nodeFailCheckTransaction
      let it timeout by 1, so that it does not assert that it has waited too long
      old impl. set timeotu value to 0, making timeout = (ctcTimer - 0) which could be quite big.
    
    
    ndb/src/kernel/blocks/ERROR_codes.txt:
      error codes
    ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
      2 new error inserts
      7030 - delay in GCP_PREPARE until checkLocalNodefailComplete is true
      7031 - delay in GCP_PREPARE and die
    ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
      Dont set api con timer to 0, as this might trigger asserion in timeoutfound lab if state == PREPARE_TO_COMMIT
    ndb/test/ndbapi/testNodeRestart.cpp:
      testcase
    ndb/test/run-test/daily-basic-tests.txt:
      autotest
    49a4c85b
testNodeRestart.cpp 32.6 KB