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
feeefdc2
Commit
feeefdc2
authored
Jun 20, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #17297 Fix error messages
parent
a6f561a1
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
6 deletions
+9
-6
ndb/src/common/transporter/TransporterRegistry.cpp
ndb/src/common/transporter/TransporterRegistry.cpp
+1
-1
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
+1
-1
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+2
-1
ndb/src/kernel/error/ndbd_exit_codes.c
ndb/src/kernel/error/ndbd_exit_codes.c
+4
-3
ndb/src/ndbapi/ndberror.c
ndb/src/ndbapi/ndberror.c
+1
-0
No files found.
ndb/src/common/transporter/TransporterRegistry.cpp
View file @
feeefdc2
...
@@ -1322,7 +1322,7 @@ TransporterRegistry::start_clients_thread()
...
@@ -1322,7 +1322,7 @@ TransporterRegistry::start_clients_thread()
else
else
{
{
ndbout_c
(
"Management server closed connection early. "
ndbout_c
(
"Management server closed connection early. "
"It is probably being shut down (or has
crashed
). "
"It is probably being shut down (or has
problems
). "
"We will retry the connection."
);
"We will retry the connection."
);
}
}
}
}
...
...
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
View file @
feeefdc2
...
@@ -8330,7 +8330,7 @@ Dbdih::resetReplicaSr(TabRecordPtr tabPtr){
...
@@ -8330,7 +8330,7 @@ Dbdih::resetReplicaSr(TabRecordPtr tabPtr){
*--------_----------------------------------------------------- */
*--------_----------------------------------------------------- */
const
Uint32
nextCrashed
=
noCrashedReplicas
+
1
;
const
Uint32
nextCrashed
=
noCrashedReplicas
+
1
;
replicaPtr
.
p
->
noCrashedReplicas
=
nextCrashed
;
replicaPtr
.
p
->
noCrashedReplicas
=
nextCrashed
;
arrGuard
(
nextCrashed
,
8
);
arrGuard
Err
(
nextCrashed
,
8
,
NDBD_EXIT_MAX_CRASHED_REPLICAS
);
replicaPtr
.
p
->
createGci
[
nextCrashed
]
=
newestRestorableGCI
+
1
;
replicaPtr
.
p
->
createGci
[
nextCrashed
]
=
newestRestorableGCI
+
1
;
ndbrequire
(
newestRestorableGCI
+
1
!=
0xF1F1F1F1
);
ndbrequire
(
newestRestorableGCI
+
1
!=
0xF1F1F1F1
);
replicaPtr
.
p
->
replicaLastGci
[
nextCrashed
]
=
(
Uint32
)
-
1
;
replicaPtr
.
p
->
replicaLastGci
[
nextCrashed
]
=
(
Uint32
)
-
1
;
...
...
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
feeefdc2
...
@@ -17989,7 +17989,8 @@ void Dblqh::stepAhead(Signal* signal, Uint32 stepAheadWords)
...
@@ -17989,7 +17989,8 @@ void Dblqh::stepAhead(Signal* signal, Uint32 stepAheadWords)
logFilePtr
.
p
->
currentLogpage
=
logPagePtr
.
p
->
logPageWord
[
ZNEXT_PAGE
];
logFilePtr
.
p
->
currentLogpage
=
logPagePtr
.
p
->
logPageWord
[
ZNEXT_PAGE
];
logPagePtr
.
i
=
logPagePtr
.
p
->
logPageWord
[
ZNEXT_PAGE
];
logPagePtr
.
i
=
logPagePtr
.
p
->
logPageWord
[
ZNEXT_PAGE
];
logFilePtr
.
p
->
currentFilepage
++
;
logFilePtr
.
p
->
currentFilepage
++
;
ptrCheckGuard
(
logPagePtr
,
clogPageFileSize
,
logPageRecord
);
ptrCheckGuardErr
(
logPagePtr
,
clogPageFileSize
,
logPageRecord
,
NDBD_EXIT_SR_REDOLOG
);
logPagePtr
.
p
->
logPageWord
[
ZCURR_PAGE_INDEX
]
=
ZPAGE_HEADER_SIZE
;
logPagePtr
.
p
->
logPageWord
[
ZCURR_PAGE_INDEX
]
=
ZPAGE_HEADER_SIZE
;
logPartPtr
.
p
->
execSrPagesRead
--
;
logPartPtr
.
p
->
execSrPagesRead
--
;
logPartPtr
.
p
->
execSrPagesExecuted
++
;
logPartPtr
.
p
->
execSrPagesExecuted
++
;
...
...
ndb/src/kernel/error/ndbd_exit_codes.c
View file @
feeefdc2
...
@@ -51,8 +51,9 @@ static const ErrStruct errArray[] =
...
@@ -51,8 +51,9 @@ static const ErrStruct errArray[] =
{
NDBD_EXIT_SYSTEM_ERROR
,
XIE
,
{
NDBD_EXIT_SYSTEM_ERROR
,
XIE
,
"System error, node killed during node restart by other node"
},
"System error, node killed during node restart by other node"
},
{
NDBD_EXIT_INDEX_NOTINRANGE
,
XIE
,
"Array index out of range"
},
{
NDBD_EXIT_INDEX_NOTINRANGE
,
XIE
,
"Array index out of range"
},
{
NDBD_EXIT_ARBIT_SHUTDOWN
,
XAE
,
"Arbitrator shutdown, "
{
NDBD_EXIT_ARBIT_SHUTDOWN
,
XAE
,
"Node lost connection to other nodes and "
"please investigate error(s) on other node(s)"
},
"can not form a unpartitioned cluster, please investigate if there are "
"error(s) on other node(s)"
},
{
NDBD_EXIT_POINTER_NOTINRANGE
,
XIE
,
"Pointer too large"
},
{
NDBD_EXIT_POINTER_NOTINRANGE
,
XIE
,
"Pointer too large"
},
{
NDBD_EXIT_SR_OTHERNODEFAILED
,
XRE
,
"Another node failed during system "
{
NDBD_EXIT_SR_OTHERNODEFAILED
,
XRE
,
"Another node failed during system "
"restart, please investigate error(s) on other node(s)"
},
"restart, please investigate error(s) on other node(s)"
},
...
@@ -94,7 +95,7 @@ static const ErrStruct errArray[] =
...
@@ -94,7 +95,7 @@ static const ErrStruct errArray[] =
{
NDBD_EXIT_WATCHDOG_TERMINATE
,
XIE
,
"WatchDog terminate, internal error "
{
NDBD_EXIT_WATCHDOG_TERMINATE
,
XIE
,
"WatchDog terminate, internal error "
"or massive overload on the machine running this node"
},
"or massive overload on the machine running this node"
},
{
NDBD_EXIT_SIGNAL_LOST_SEND_BUFFER_FULL
,
XCR
,
{
NDBD_EXIT_SIGNAL_LOST_SEND_BUFFER_FULL
,
XCR
,
"Signal lost, out of send buffer memory, please increase SendBufferMemory"
},
"Signal lost, out of send buffer memory, please increase SendBufferMemory
or lower the load
"
},
{
NDBD_EXIT_SIGNAL_LOST
,
XIE
,
"Signal lost (unknown reason)"
},
{
NDBD_EXIT_SIGNAL_LOST
,
XIE
,
"Signal lost (unknown reason)"
},
{
NDBD_EXIT_ILLEGAL_SIGNAL
,
XIE
,
{
NDBD_EXIT_ILLEGAL_SIGNAL
,
XIE
,
"Illegal signal (version mismatch a possibility)"
},
"Illegal signal (version mismatch a possibility)"
},
...
...
ndb/src/ndbapi/ndberror.c
View file @
feeefdc2
...
@@ -266,6 +266,7 @@ ErrorBundle ErrorCodes[] = {
...
@@ -266,6 +266,7 @@ ErrorBundle ErrorCodes[] = {
/**
/**
* Application error
* Application error
*/
*/
{
763
,
AE
,
"Alter table requires cluster nodes to have exact same version"
},
{
823
,
AE
,
"Too much attrinfo from application in tuple manager"
},
{
823
,
AE
,
"Too much attrinfo from application in tuple manager"
},
{
831
,
AE
,
"Too many nullable/bitfields in table definition"
},
{
831
,
AE
,
"Too many nullable/bitfields in table definition"
},
{
876
,
AE
,
"876"
},
{
876
,
AE
,
"876"
},
...
...
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