summaryrefslogtreecommitdiff
path: root/ndb/test/ndbapi
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2006-04-03 11:26:29 +0200
committerunknown <jonas@perch.ndb.mysql.com>2006-04-03 11:26:29 +0200
commit3f5bfe4fc0628fce077575ab1247abcc24875a41 (patch)
treea100191301a8840180873fe714ef71b05a7f7909 /ndb/test/ndbapi
parent9319c2c777430df532b2be9d5e34b0fec76a91e4 (diff)
downloadmariadb-git-3f5bfe4fc0628fce077575ab1247abcc24875a41.tar.gz
ndb - bug#18612
post weeked fixes :-) change impl. to use READ_NODESREQ to query state of other qmgr(partition) this as it has no (current) side effects, so that it's possible only to kill starting cluster (if one started and one starting) ndb/include/kernel/signaldata/FailRep.hpp: Add paritioned FAIL_REP ndb/src/kernel/blocks/qmgr/Qmgr.hpp: Use READ_NODESREQ to query state of other QMGR (instead of CM_REGREQ) ndb/src/kernel/blocks/qmgr/QmgrInit.cpp: Use READ_NODESREQ to query state of other QMGR (instead of CM_REGREQ) ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: Use READ_NODESREQ to query state of other QMGR (instead of CM_REGREQ) ndb/test/ndbapi/testNodeRestart.cpp: Require that only starting cluster dies
Diffstat (limited to 'ndb/test/ndbapi')
-rw-r--r--ndb/test/ndbapi/testNodeRestart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/test/ndbapi/testNodeRestart.cpp b/ndb/test/ndbapi/testNodeRestart.cpp
index 5f577b77f34..bdf0069aa26 100644
--- a/ndb/test/ndbapi/testNodeRestart.cpp
+++ b/ndb/test/ndbapi/testNodeRestart.cpp
@@ -753,13 +753,13 @@ runBug18612(NDBT_Context* ctx, NDBT_Step* step){
if (restarter.dumpStateAllNodes(dump, 2))
return NDBT_FAILED;
- if (restarter.waitClusterNoStart())
+ if (restarter.waitNodesNoStart(partition0, cnt/2))
return NDBT_FAILED;
for (Uint32 i = 0; i<cnt/2; i++)
if (restarter.restartOneDbNode(partition0[i], true, true, true))
return NDBT_FAILED;
-
+
if (restarter.waitNodesNoStart(partition0, cnt/2))
return NDBT_FAILED;