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
00d95a8b
Commit
00d95a8b
authored
Dec 02, 2005
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#15425 Small window for NF during backup failing without error
parent
12d1bf12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
ndb/src/kernel/blocks/backup/Backup.cpp
ndb/src/kernel/blocks/backup/Backup.cpp
+10
-5
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+0
-1
No files found.
ndb/src/kernel/blocks/backup/Backup.cpp
View file @
00d95a8b
...
...
@@ -786,13 +786,17 @@ Backup::checkNodeFail(Signal* signal,
pos
=
&
ref
->
nodeId
-
signal
->
getDataPtr
();
break
;
}
case
GSN_WAIT_GCP_REQ
:
case
GSN_DROP_TRIG_REQ
:
case
GSN_CREATE_TRIG_REQ
:
case
GSN_ALTER_TRIG_REQ
:
case
GSN_WAIT_GCP_REQ
:
ptr
.
p
->
setErrorCode
(
AbortBackupOrd
::
BackupFailureDueToNodeFail
);
return
;
case
GSN_UTIL_SEQUENCE_REQ
:
case
GSN_UTIL_LOCK_REQ
:
case
GSN_DROP_TRIG_REQ
:
return
;
default:
ndbrequire
(
false
);
}
for
(
Uint32
i
=
0
;
(
i
=
mask
.
find
(
i
+
1
))
!=
NdbNodeBitmask
::
NotFound
;
)
...
...
@@ -1880,7 +1884,7 @@ Backup::execBACKUP_FRAGMENT_REF(Signal* signal)
}
}
}
ndbrequire
(
false
)
;
goto
err
;
done:
ptr
.
p
->
masterData
.
sendCounter
--
;
...
...
@@ -1893,6 +1897,7 @@ done:
return
;
}
//if
err:
AbortBackupOrd
*
ord
=
(
AbortBackupOrd
*
)
signal
->
getDataPtrSend
();
ord
->
backupId
=
ptr
.
p
->
backupId
;
ord
->
backupPtr
=
ptr
.
i
;
...
...
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
00d95a8b
...
...
@@ -11694,7 +11694,6 @@ Dbdict::alterTrigger_toDropLocal(Signal* signal, OpAlterTriggerPtr opPtr)
// broken trigger allowed if force
if
(
!
(
triggerPtr
.
p
->
triggerLocal
&
TriggerRecord
::
TL_CREATED_LQH
))
{
jam
();
ndbrequire
(
opPtr
.
p
->
m_requestFlag
&
RequestFlag
::
RF_FORCE
);
alterTrigger_sendReply
(
signal
,
opPtr
,
false
);
return
;
}
...
...
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