Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ec1ba9db
Commit
ec1ba9db
authored
Nov 22, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#24461
m ove mlock to much earlier in startphases not to affect heartbeats
parent
e9b1a8b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
+10
-8
No files found.
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp
View file @
ec1ba9db
...
...
@@ -311,6 +311,16 @@ void Cmvmi::execSTTOR(Signal* signal)
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 @@ void Cmvmi::execSTTOR(Signal* signal)
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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment