Commit 0887c3bc authored by unknown's avatar unknown

ndb - new atrt

    Fix bug when restarting cluster after failure
      (fs was not cleared)
    Fix cosmetic bug that made rsync be run several times when gathering result


storage/ndb/test/run-test/main.cpp:
  Fix bug when restarting cluster after failure
    (fs was not cleared)
  Fix cosmetic bug that made rsync be run several times when gathering result
parent 9197d6b8
......@@ -239,10 +239,7 @@ main(int argc, char ** argv)
if(!stop_processes(g_config, ~0))
goto end;
if (!setup_directories(g_config, 2))
goto end;
if (!setup_files(g_config, 2, 1))
if(!setup_hosts(g_config))
goto end;
if (!start(g_config, p_ndb | p_servers))
......@@ -1070,6 +1067,7 @@ gather_result(atrt_config& config, int * result){
tmp.appfmt(" %s:%s/*",
config.m_hosts[i]->m_hostname.c_str(),
config.m_hosts[i]->m_basedir.c_str());
}
g_logger.debug("system(%s)", tmp.c_str());
const int r1 = system(tmp.c_str());
......@@ -1078,7 +1076,6 @@ gather_result(atrt_config& config, int * result){
g_logger.critical("Failed to gather result!");
return false;
}
}
g_logger.debug("system(%s)", g_analyze_progname);
const int r2 = system(g_analyze_progname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment