diff options
author | unknown <joreland@mysql.com> | 2005-02-24 20:56:59 +0100 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2005-02-24 20:56:59 +0100 |
commit | a9201bf6eb60c5ee1d1fcc42ded71105e54fdf43 (patch) | |
tree | e90d4b1a515be0565ee8a85c2edbcfdf85dd330d /ndb | |
parent | 185a811e8e149bc6bc27a1c3a85f1aed20f49806 (diff) | |
download | mariadb-git-a9201bf6eb60c5ee1d1fcc42ded71105e54fdf43.tar.gz |
bug#8786 - ndb_autodiscover - 5.0 specific details
Wait some for all nodes to get connected
ndb/tools/drop_index.cpp:
Wait some for all nodes to get connected
ndb/tools/drop_tab.cpp:
Wait some for all nodes to get connected
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/tools/drop_index.cpp | 2 | ||||
-rw-r--r-- | ndb/tools/drop_tab.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ndb/tools/drop_index.cpp b/ndb/tools/drop_index.cpp index 90528a2a5a4..c73aa4d42d2 100644 --- a/ndb/tools/drop_index.cpp +++ b/ndb/tools/drop_index.cpp @@ -66,7 +66,7 @@ int main(int argc, char** argv){ { return NDBT_ProgramExit(NDBT_FAILED); } - if (con.wait_until_ready(30,0) < 0) + if (con.wait_until_ready(30,3) < 0) { ndbout << "Cluster nodes not ready in 30 seconds." << endl; return NDBT_ProgramExit(NDBT_FAILED); diff --git a/ndb/tools/drop_tab.cpp b/ndb/tools/drop_tab.cpp index a0a5262bace..92a103b81af 100644 --- a/ndb/tools/drop_tab.cpp +++ b/ndb/tools/drop_tab.cpp @@ -67,7 +67,7 @@ int main(int argc, char** argv){ ndbout << "Unable to connect to management server." << endl; return NDBT_ProgramExit(NDBT_FAILED); } - if (con.wait_until_ready(30,0) < 0) + if (con.wait_until_ready(30,3) < 0) { ndbout << "Cluster nodes not ready in 30 seconds." << endl; return NDBT_ProgramExit(NDBT_FAILED); |