Below is the list of changes that have just been committed into a local
4.1 repository of root. When root does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-09-27 17:49:16+00:00, lzhou@stripped +1 -0
BUG#17868 modify errorr message when doing illegal configuration change
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp@stripped, 2006-09-27 17:49:15+00:00, lzhou@stripped +6 -0
Add error message if data node fails after the cluster restart
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: lzhou
# Host: dev3-138.dev.cn.tlan
# Root: /home/zhl/mysql/mysql-4.1/bug17868
--- 1.37/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp 2006-09-27 17:49:23 +00:00
+++ 1.38/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp 2006-09-27 17:49:23 +00:00
@@ -1482,6 +1482,12 @@
const Uint32 stat = Sysfile::getNodeStatus(i, SYSFILE->nodeStatus);
if(stat == Sysfile::NS_NotDefined && !tmp.get(i)){
jam();
+ char buf[255];
+ BaseString::snprintf(buf, sizeof(buf),
+ "Illegal configuration change."
+ " Storage node %d 's state is NotDefined."
+ " Changing number of data nodes not supported", i);
+ progError(__LINE__, ERR_INVALID_CONFIG, buf);
continue;
}
| Thread |
|---|
| • bk commit into 4.1 tree (lzhou:1.2535) BUG#17868 | lzhou | 27 Sep |