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
7c83e6d2
Commit
7c83e6d2
authored
Jul 10, 2006
by
pekka@orca.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#18781 : 5.0 : add NODE_START_REP from 5.1 (re-commit, try to by-pass merge jam)
parent
ada3df70
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
0 deletions
+17
-0
ndb/include/kernel/GlobalSignalNumbers.h
ndb/include/kernel/GlobalSignalNumbers.h
+1
-0
ndb/src/common/debugger/signaldata/SignalNames.cpp
ndb/src/common/debugger/signaldata/SignalNames.cpp
+2
-0
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
+7
-0
ndb/src/kernel/vm/SimulatedBlock.cpp
ndb/src/kernel/vm/SimulatedBlock.cpp
+6
-0
ndb/src/kernel/vm/SimulatedBlock.hpp
ndb/src/kernel/vm/SimulatedBlock.hpp
+1
-0
No files found.
ndb/include/kernel/GlobalSignalNumbers.h
View file @
7c83e6d2
...
...
@@ -587,6 +587,7 @@ extern const GlobalSignalNumber NO_OF_SIGNAL_NAMES;
#define GSN_BLOCK_COMMIT_ORD 485
#define GSN_UNBLOCK_COMMIT_ORD 486
#define GSN_NODE_START_REP 502
#define GSN_NODE_STATE_REP 487
#define GSN_CHANGE_NODE_STATE_REQ 488
#define GSN_CHANGE_NODE_STATE_CONF 489
...
...
ndb/src/common/debugger/signaldata/SignalNames.cpp
View file @
7c83e6d2
...
...
@@ -399,6 +399,8 @@ const GsnName SignalNames [] = {
,{
GSN_TUP_COM_UNBLOCK
,
"TUP_COM_UNBLOCK"
}
,{
GSN_DUMP_STATE_ORD
,
"DUMP_STATE_ORD"
}
,{
GSN_NODE_START_REP
,
"NODE_START_REP"
}
,{
GSN_START_INFOREQ
,
"START_INFOREQ"
}
,{
GSN_START_INFOREF
,
"START_INFOREF"
}
,{
GSN_START_INFOCONF
,
"START_INFOCONF"
}
...
...
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
View file @
7c83e6d2
...
...
@@ -591,6 +591,13 @@ Ndbcntr::execCNTR_START_REP(Signal* signal){
Uint32
nodeId
=
signal
->
theData
[
0
];
c_startedNodes
.
set
(
nodeId
);
c_start
.
m_starting
.
clear
(
nodeId
);
/**
* Inform all interested blocks that node has started
*/
for
(
Uint32
i
=
0
;
i
<
ALL_BLOCKS_SZ
;
i
++
){
sendSignal
(
ALL_BLOCKS
[
i
].
Ref
,
GSN_NODE_START_REP
,
signal
,
1
,
JBB
);
}
if
(
!
c_start
.
m_starting
.
isclear
()){
jam
();
...
...
ndb/src/kernel/vm/SimulatedBlock.cpp
View file @
7c83e6d2
...
...
@@ -148,6 +148,7 @@ SimulatedBlock::installSimulatedBlockFunctions(){
a
[
GSN_FSREMOVEREF
]
=
&
SimulatedBlock
::
execFSREMOVEREF
;
a
[
GSN_FSSYNCREF
]
=
&
SimulatedBlock
::
execFSSYNCREF
;
a
[
GSN_FSAPPENDREF
]
=
&
SimulatedBlock
::
execFSAPPENDREF
;
a
[
GSN_NODE_START_REP
]
=
&
SimulatedBlock
::
execNODE_START_REP
;
}
void
...
...
@@ -913,6 +914,11 @@ SimulatedBlock::execCONTINUE_FRAGMENTED(Signal * signal){
sendSignal
(
reference
(),
GSN_CONTINUE_FRAGMENTED
,
signal
,
1
,
JBB
);
}
void
SimulatedBlock
::
execNODE_START_REP
(
Signal
*
signal
)
{
}
#ifdef VM_TRACE_TIME
void
SimulatedBlock
::
clearTimes
()
{
...
...
ndb/src/kernel/vm/SimulatedBlock.hpp
View file @
7c83e6d2
...
...
@@ -423,6 +423,7 @@ private:
void
execSIGNAL_DROPPED_REP
(
Signal
*
signal
);
void
execCONTINUE_FRAGMENTED
(
Signal
*
signal
);
void
execNODE_START_REP
(
Signal
*
signal
);
Uint32
c_fragmentIdCounter
;
ArrayPool
<
FragmentInfo
>
c_fragmentInfoPool
;
...
...
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