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
a1368c8e
Commit
a1368c8e
authored
Mar 21, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
01fe2589
2d3b2458
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp
storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp
+2
-0
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
+6
-1
storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp
storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp
+3
-0
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
+2
-0
No files found.
storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp
View file @
a1368c8e
...
@@ -1645,6 +1645,8 @@ private:
...
@@ -1645,6 +1645,8 @@ private:
// NR
// NR
Uint32
c_dictLockSlavePtrI_nodeRestart
;
// userPtr for NR
Uint32
c_dictLockSlavePtrI_nodeRestart
;
// userPtr for NR
void
recvDictLockConf_nodeRestart
(
Signal
*
signal
,
Uint32
data
,
Uint32
ret
);
void
recvDictLockConf_nodeRestart
(
Signal
*
signal
,
Uint32
data
,
Uint32
ret
);
Uint32
c_error_7181_ref
;
}
;
}
;
#if (DIH_CDATA_SIZE < _SYSFILE_SIZE32)
#if (DIH_CDATA_SIZE < _SYSFILE_SIZE32)
...
...
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
View file @
a1368c8e
...
@@ -5101,6 +5101,7 @@ void Dbdih::execMASTER_GCPREQ(Signal* signal)
...
@@ -5101,6 +5101,7 @@ void Dbdih::execMASTER_GCPREQ(Signal* signal)
{
{
ndbout_c
(
"execGCP_TCFINISHED in MASTER_GCPREQ"
);
ndbout_c
(
"execGCP_TCFINISHED in MASTER_GCPREQ"
);
CLEAR_ERROR_INSERT_VALUE
;
CLEAR_ERROR_INSERT_VALUE
;
signal
->
theData
[
0
]
=
c_error_7181_ref
;
signal
->
theData
[
1
]
=
coldgcp
;
signal
->
theData
[
1
]
=
coldgcp
;
execGCP_TCFINISHED
(
signal
);
execGCP_TCFINISHED
(
signal
);
}
}
...
@@ -5176,6 +5177,7 @@ void Dbdih::execMASTER_GCPREQ(Signal* signal)
...
@@ -5176,6 +5177,7 @@ void Dbdih::execMASTER_GCPREQ(Signal* signal)
{
{
ndbout_c
(
"execGCP_TCFINISHED in MASTER_GCPREQ"
);
ndbout_c
(
"execGCP_TCFINISHED in MASTER_GCPREQ"
);
CLEAR_ERROR_INSERT_VALUE
;
CLEAR_ERROR_INSERT_VALUE
;
signal
->
theData
[
0
]
=
c_error_7181_ref
;
signal
->
theData
[
1
]
=
coldgcp
;
signal
->
theData
[
1
]
=
coldgcp
;
execGCP_TCFINISHED
(
signal
);
execGCP_TCFINISHED
(
signal
);
}
}
...
@@ -8078,6 +8080,7 @@ void Dbdih::execGCP_COMMIT(Signal* signal)
...
@@ -8078,6 +8080,7 @@ void Dbdih::execGCP_COMMIT(Signal* signal)
cgckptflag
=
false
;
cgckptflag
=
false
;
emptyverificbuffer
(
signal
,
true
);
emptyverificbuffer
(
signal
,
true
);
cgcpParticipantState
=
GCP_PARTICIPANT_COMMIT_RECEIVED
;
cgcpParticipantState
=
GCP_PARTICIPANT_COMMIT_RECEIVED
;
signal
->
theData
[
0
]
=
calcDihBlockRef
(
masterNodeId
);
signal
->
theData
[
1
]
=
coldgcp
;
signal
->
theData
[
1
]
=
coldgcp
;
sendSignal
(
clocaltcblockref
,
GSN_GCP_NOMORETRANS
,
signal
,
2
,
JBB
);
sendSignal
(
clocaltcblockref
,
GSN_GCP_NOMORETRANS
,
signal
,
2
,
JBB
);
return
;
return
;
...
@@ -8087,11 +8090,13 @@ void Dbdih::execGCP_TCFINISHED(Signal* signal)
...
@@ -8087,11 +8090,13 @@ void Dbdih::execGCP_TCFINISHED(Signal* signal)
{
{
jamEntry
();
jamEntry
();
CRASH_INSERTION
(
7007
);
CRASH_INSERTION
(
7007
);
Uint32
retRef
=
signal
->
theData
[
0
];
Uint32
gci
=
signal
->
theData
[
1
];
Uint32
gci
=
signal
->
theData
[
1
];
ndbrequire
(
gci
==
coldgcp
);
ndbrequire
(
gci
==
coldgcp
);
if
(
ERROR_INSERTED
(
7181
)
||
ERROR_INSERTED
(
7182
))
if
(
ERROR_INSERTED
(
7181
)
||
ERROR_INSERTED
(
7182
))
{
{
c_error_7181_ref
=
retRef
;
// Save ref
ndbout_c
(
"killing %d"
,
refToNode
(
cmasterdihref
));
ndbout_c
(
"killing %d"
,
refToNode
(
cmasterdihref
));
signal
->
theData
[
0
]
=
9999
;
signal
->
theData
[
0
]
=
9999
;
sendSignal
(
numberToRef
(
CMVMI
,
refToNode
(
cmasterdihref
)),
sendSignal
(
numberToRef
(
CMVMI
,
refToNode
(
cmasterdihref
)),
...
@@ -8103,7 +8108,7 @@ void Dbdih::execGCP_TCFINISHED(Signal* signal)
...
@@ -8103,7 +8108,7 @@ void Dbdih::execGCP_TCFINISHED(Signal* signal)
signal
->
theData
[
0
]
=
cownNodeId
;
signal
->
theData
[
0
]
=
cownNodeId
;
signal
->
theData
[
1
]
=
coldgcp
;
signal
->
theData
[
1
]
=
coldgcp
;
signal
->
theData
[
2
]
=
cfailurenr
;
signal
->
theData
[
2
]
=
cfailurenr
;
sendSignal
(
cmasterdihr
ef
,
GSN_GCP_NODEFINISH
,
signal
,
3
,
JBB
);
sendSignal
(
retR
ef
,
GSN_GCP_NODEFINISH
,
signal
,
3
,
JBB
);
}
//Dbdih::execGCP_TCFINISHED()
}
//Dbdih::execGCP_TCFINISHED()
/*****************************************************************************/
/*****************************************************************************/
...
...
storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp
View file @
a1368c8e
...
@@ -1955,5 +1955,8 @@ private:
...
@@ -1955,5 +1955,8 @@ private:
// those variables should be removed and exchanged for stack
// those variables should be removed and exchanged for stack
// variable communication.
// variable communication.
/**************************************************************************/
/**************************************************************************/
Uint32
c_gcp_ref
;
};
};
#endif
#endif
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
View file @
a1368c8e
...
@@ -6886,6 +6886,7 @@ void Dbtc::timeOutFoundFragLab(Signal* signal, UintR TscanConPtr)
...
@@ -6886,6 +6886,7 @@ void Dbtc::timeOutFoundFragLab(Signal* signal, UintR TscanConPtr)
void
Dbtc
::
execGCP_NOMORETRANS
(
Signal
*
signal
)
void
Dbtc
::
execGCP_NOMORETRANS
(
Signal
*
signal
)
{
{
jamEntry
();
jamEntry
();
c_gcp_ref
=
signal
->
theData
[
0
];
tcheckGcpId
=
signal
->
theData
[
1
];
tcheckGcpId
=
signal
->
theData
[
1
];
if
(
cfirstgcp
!=
RNIL
)
{
if
(
cfirstgcp
!=
RNIL
)
{
jam
();
jam
();
...
@@ -9934,6 +9935,7 @@ void Dbtc::sendScanTabConf(Signal* signal, ScanRecordPtr scanPtr) {
...
@@ -9934,6 +9935,7 @@ void Dbtc::sendScanTabConf(Signal* signal, ScanRecordPtr scanPtr) {
void
Dbtc
::
gcpTcfinished
(
Signal
*
signal
)
void
Dbtc
::
gcpTcfinished
(
Signal
*
signal
)
{
{
signal
->
theData
[
0
]
=
c_gcp_ref
;
signal
->
theData
[
1
]
=
tcheckGcpId
;
signal
->
theData
[
1
]
=
tcheckGcpId
;
sendSignal
(
cdihblockref
,
GSN_GCP_TCFINISHED
,
signal
,
2
,
JBB
);
sendSignal
(
cdihblockref
,
GSN_GCP_TCFINISHED
,
signal
,
2
,
JBB
);
}
//Dbtc::gcpTcfinished()
}
//Dbtc::gcpTcfinished()
...
...
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