Commit d94d1f94 authored by unknown's avatar unknown

ndb - bug#24461 - LockPagesInMemory ignored

  actually do run mlockall


ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
  actually do run mlockall
parent 13c1723c
......@@ -330,9 +330,6 @@ void Cmvmi::execSTTOR(Signal* signal)
signal->theData[2] = NodeInfo::REP;
execOPEN_COMREQ(signal);
globalData.theStartLevel = NodeState::SL_STARTED;
sendSTTORRY(signal);
} else {
jam();
if(theConfig.lockPagesInMainMemory()){
int res = NdbMem_MemLockAll();
......@@ -341,7 +338,6 @@ void Cmvmi::execSTTOR(Signal* signal)
warningEvent("Failed to memlock pages");
}
}
sendSTTORRY(signal);
}
}
......
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