Below is the list of changes that have just been committed into a local
4.1 repository of jonas. When jonas 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-11-22 14:13:32+01:00, jonas@stripped +1 -0
ndb - bug#24461
m ove mlock to much earlier in startphases
not to affect heartbeats
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp@stripped, 2006-11-22 14:13:31+01:00, jonas@stripped +10 -8
move mlock to much earlier in startphases
not to affect heartbeats
# 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: jonas
# Host: perch.ndb.mysql.com
# Root: /home/jonas/src/41-work
--- 1.22/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp 2006-11-22 14:13:35 +01:00
+++ 1.23/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp 2006-11-22 14:13:35 +01:00
@@ -311,6 +311,16 @@
jamEntry();
if (theStartPhase == 1){
jam();
+
+ if(theConfig.lockPagesInMainMemory())
+ {
+ int res = NdbMem_MemLockAll();
+ if(res != 0){
+ g_eventLogger.warning("Failed to memlock pages");
+ warningEvent("Failed to memlock pages");
+ }
+ }
+
sendSTTORRY(signal);
return;
} else if (theStartPhase == 3) {
@@ -330,14 +340,6 @@
signal->theData[2] = NodeInfo::REP;
execOPEN_COMREQ(signal);
globalData.theStartLevel = NodeState::SL_STARTED;
-
- if(theConfig.lockPagesInMainMemory()){
- int res = NdbMem_MemLockAll();
- if(res != 0){
- g_eventLogger.warning("Failed to memlock pages");
- warningEvent("Failed to memlock pages");
- }
- }
sendSTTORRY(signal);
}
}
| Thread |
|---|
| • bk commit into 4.1 tree (jonas:1.2560) BUG#24461 | jonas | 22 Nov |