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
97df411f
Commit
97df411f
authored
Jun 02, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#20185
second try - handle CS_PREPARE_TO_COMMIT explicitly
parent
ee0b2615
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
+11
-6
No files found.
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
View file @
97df411f
...
...
@@ -7093,15 +7093,20 @@ Dbtc::nodeFailCheckTransactions(Signal* signal,
for
(
transPtr
.
i
=
transPtrI
;
transPtr
.
i
<
capiConnectFilesize
;
transPtr
.
i
++
)
{
ptrCheckGuard
(
transPtr
,
capiConnectFilesize
,
apiConnectRecord
);
Uiint32
state
=
transPtr
.
p
->
apiConnectstate
;
if
(
transPtr
.
p
->
m_transaction_nodes
.
get
(
failedNodeId
))
{
jam
();
// Force timeout regardless of state
c_appl_timeout_value
=
1
;
setApiConTimer
(
transPtr
.
i
,
TtcTimer
-
2
,
__LINE__
);
timeOutFoundLab
(
signal
,
transPtr
.
i
,
ZNODEFAIL_BEFORE_COMMIT
);
c_appl_timeout_value
=
TapplTimeout
;
// avoid assertion in timeoutfoundlab
if
(
state
!=
CS_PREPARE_TO_COMMIT
)
{
// Force timeout regardless of state
c_appl_timeout_value
=
1
;
setApiConTimer
(
transPtr
.
i
,
TtcTimer
-
2
,
__LINE__
);
timeOutFoundLab
(
signal
,
transPtr
.
i
,
ZNODEFAIL_BEFORE_COMMIT
);
c_appl_timeout_value
=
TapplTimeout
;
}
}
// Send CONTINUEB to continue later
...
...
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