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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a8cd78dd
Commit
a8cd78dd
authored
17 years ago
by
tomas@poseidon.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #26825 MySQL Server Crashes in high load
Bug #26997 mysqld segfault when in single user mode
parent
5a6952b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+7
-0
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+2
-0
storage/ndb/src/ndbapi/ndberror.c
storage/ndb/src/ndbapi/ndberror.c
+2
-0
No files found.
sql/ha_ndbcluster.cc
View file @
a8cd78dd
...
@@ -6093,9 +6093,16 @@ int ndbcluster_discover(handlerton *hton, THD* thd, const char *db,
...
@@ -6093,9 +6093,16 @@ int ndbcluster_discover(handlerton *hton, THD* thd, const char *db,
{
{
const
NdbError
err
=
dict
->
getNdbError
();
const
NdbError
err
=
dict
->
getNdbError
();
if
(
err
.
code
==
709
||
err
.
code
==
723
)
if
(
err
.
code
==
709
||
err
.
code
==
723
)
{
error
=
-
1
;
error
=
-
1
;
DBUG_PRINT
(
"info"
,
(
"ndb_error.code: %u"
,
ndb_error
.
code
));
}
else
else
{
error
=
-
1
;
ndb_error
=
err
;
ndb_error
=
err
;
DBUG_PRINT
(
"info"
,
(
"ndb_error.code: %u"
,
ndb_error
.
code
));
}
goto
err
;
goto
err
;
}
}
DBUG_PRINT
(
"info"
,
(
"Found table %s"
,
tab
->
getName
()));
DBUG_PRINT
(
"info"
,
(
"Found table %s"
,
tab
->
getName
()));
...
...
This diff is collapsed.
Click to expand it.
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
View file @
a8cd78dd
...
@@ -1753,6 +1753,7 @@ NdbDictInterface::dictSignal(NdbApiSignal* sig,
...
@@ -1753,6 +1753,7 @@ NdbDictInterface::dictSignal(NdbApiSignal* sig,
m_transporter
->
sendSignal
(
sig
,
node
));
m_transporter
->
sendSignal
(
sig
,
node
));
if
(
res
!=
0
){
if
(
res
!=
0
){
DBUG_PRINT
(
"info"
,
(
"dictSignal failed to send signal"
));
DBUG_PRINT
(
"info"
,
(
"dictSignal failed to send signal"
));
m_error
.
code
=
4007
;
continue
;
continue
;
}
}
...
@@ -1770,6 +1771,7 @@ NdbDictInterface::dictSignal(NdbApiSignal* sig,
...
@@ -1770,6 +1771,7 @@ NdbDictInterface::dictSignal(NdbApiSignal* sig,
*/
*/
if
(
ret_val
==
-
2
)
//WAIT_NODE_FAILURE
if
(
ret_val
==
-
2
)
//WAIT_NODE_FAILURE
{
{
m_error
.
code
=
4013
;
continue
;
continue
;
}
}
if
(
m_waiter
.
m_state
==
WST_WAIT_TIMEOUT
)
if
(
m_waiter
.
m_state
==
WST_WAIT_TIMEOUT
)
...
...
This diff is collapsed.
Click to expand it.
storage/ndb/src/ndbapi/ndberror.c
View file @
a8cd78dd
...
@@ -149,10 +149,12 @@ ErrorBundle ErrorCodes[] = {
...
@@ -149,10 +149,12 @@ ErrorBundle ErrorCodes[] = {
/**
/**
* Unknown result
* Unknown result
*/
*/
{
4007
,
DMEC
,
UR
,
"Send to ndbd failed"
},
{
4008
,
DMEC
,
UR
,
"Receive from NDB failed"
},
{
4008
,
DMEC
,
UR
,
"Receive from NDB failed"
},
{
4009
,
DMEC
,
UR
,
"Cluster Failure"
},
{
4009
,
DMEC
,
UR
,
"Cluster Failure"
},
{
4012
,
DMEC
,
UR
,
{
4012
,
DMEC
,
UR
,
"Request ndbd time-out, maybe due to high load or communication problems"
},
"Request ndbd time-out, maybe due to high load or communication problems"
},
{
4013
,
DMEC
,
UR
,
"Request timed out in waiting for node faiulure"
},
{
4024
,
DMEC
,
UR
,
{
4024
,
DMEC
,
UR
,
"Time-out, most likely caused by simple read or cluster failure"
},
"Time-out, most likely caused by simple read or cluster failure"
},
...
...
This diff is collapsed.
Click to expand it.
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