• unknown's avatar
    Bug #28899 not possible to set separate watchdog timeout at startup · 1182b801
    unknown authored
    
    storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
      add new configuration parameter TimeBetweenWatchDogCheckInitial
    storage/ndb/include/portlib/NdbTick.h:
      enable timing code
    storage/ndb/src/common/portlib/NdbTick.c:
      enable timing code
    storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
      read watchdog timeout to set it after malloc
    storage/ndb/src/kernel/vm/Configuration.cpp:
      read initial watchdog timeout and set it in the beginning
    storage/ndb/src/kernel/vm/Configuration.hpp:
      read initial watchdog timeout and set it in the beginning
    storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
      introduce new state for "action" malloc of memory
    storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
      introduce new state for "action" malloc of memory
    storage/ndb/src/kernel/vm/WatchDog.cpp:
      rewrite watchdog to check every 100ms for being stuch, but keep shutdown after 3 * interval
      for "action" == 9 (malloc)  keep old behavior and only output every interval
    storage/ndb/src/mgmsrv/ConfigInfo.cpp:
      add new configuration parameter TimeBetweenWatchDogCheckInitial
    1182b801
Configuration.cpp 24 KB