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
e40bdb5b
Commit
e40bdb5b
authored
Apr 05, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge
parent
66daa375
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
+9
-4
No files found.
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
View file @
e40bdb5b
...
@@ -834,7 +834,7 @@ retry:
...
@@ -834,7 +834,7 @@ retry:
CRASH_INSERTION
(
932
);
CRASH_INSERTION
(
932
);
progError
(
__LINE__
,
progError
(
__LINE__
,
ERR_ARBIT_SHUTDOWN
,
NDBD_EXIT_ARBIT_SHUTDOWN
,
buf
);
buf
);
ndbrequire
(
false
);
ndbrequire
(
false
);
...
@@ -1002,7 +1002,7 @@ Qmgr::electionWon(Signal* signal){
...
@@ -1002,7 +1002,7 @@ Qmgr::electionWon(Signal* signal){
c_stopElectionTime
=
~
0
;
c_stopElectionTime
=
~
0
;
c_start
.
reset
();
c_start
.
reset
();
signal
->
theData
[
0
]
=
EventReport
::
CM_REGCONF
;
signal
->
theData
[
0
]
=
NDB_LE_
CM_REGCONF
;
signal
->
theData
[
1
]
=
getOwnNodeId
();
signal
->
theData
[
1
]
=
getOwnNodeId
();
signal
->
theData
[
2
]
=
cpresident
;
signal
->
theData
[
2
]
=
cpresident
;
signal
->
theData
[
3
]
=
1
;
signal
->
theData
[
3
]
=
1
;
...
@@ -2071,7 +2071,7 @@ void Qmgr::execDISCONNECT_REP(Signal* signal)
...
@@ -2071,7 +2071,7 @@ void Qmgr::execDISCONNECT_REP(Signal* signal)
{
{
char
buf
[
100
];
char
buf
[
100
];
BaseString
::
snprintf
(
buf
,
100
,
"Node %u disconected"
,
nodeId
);
BaseString
::
snprintf
(
buf
,
100
,
"Node %u disconected"
,
nodeId
);
progError
(
__LINE__
,
ERR
_SR_OTHERNODEFAILED
,
buf
);
progError
(
__LINE__
,
NDBD_EXIT
_SR_OTHERNODEFAILED
,
buf
);
ndbrequire
(
false
);
ndbrequire
(
false
);
}
}
}
}
...
@@ -2361,7 +2361,7 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode,
...
@@ -2361,7 +2361,7 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode,
break
;
break
;
case
FailRep
:
:
ZPARTITIONED_CLUSTER
:
case
FailRep
:
:
ZPARTITIONED_CLUSTER
:
{
{
code
=
ERR
_ARBIT_SHUTDOWN
;
code
=
NDBD_EXIT
_ARBIT_SHUTDOWN
;
char
buf1
[
100
],
buf2
[
100
];
char
buf1
[
100
],
buf2
[
100
];
c_clusterNodes
.
getText
(
buf1
);
c_clusterNodes
.
getText
(
buf1
);
if
(
signal
->
getLength
()
==
FailRep
::
SignalLength
+
FailRep
::
ExtraLength
&&
if
(
signal
->
getLength
()
==
FailRep
::
SignalLength
+
FailRep
::
ExtraLength
&&
...
@@ -2386,6 +2386,11 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode,
...
@@ -2386,6 +2386,11 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode,
msg
=
extra
;
msg
=
extra
;
break
;
break
;
}
}
case
FailRep
:
:
ZMULTI_NODE_SHUTDOWN
:
msg
=
"Multi node shutdown"
;
break
;
default:
msg
=
"<UNKNOWN>"
;
}
}
CRASH_INSERTION
(
932
);
CRASH_INSERTION
(
932
);
...
...
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