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
ec97b008
Commit
ec97b008
authored
Mar 21, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#27286
make sure master node is sendable, when getting ref::NotMaster
parent
42b3e0a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
storage/ndb/src/mgmsrv/MgmtSrvr.cpp
storage/ndb/src/mgmsrv/MgmtSrvr.cpp
+4
-0
No files found.
storage/ndb/src/mgmsrv/MgmtSrvr.cpp
View file @
ec97b008
...
...
@@ -2131,6 +2131,8 @@ MgmtSrvr::alloc_node_id_req(NodeId free_node_id, enum ndb_mgm_node_type type)
{
do_send
=
1
;
nodeId
=
refToNode
(
ref
->
masterRef
);
if
(
!
theFacade
->
get_node_alive
(
nodeId
))
nodeId
=
0
;
continue
;
}
return
ref
->
errorCode
;
...
...
@@ -2621,6 +2623,8 @@ MgmtSrvr::startBackup(Uint32& backupId, int waitCompleted)
ndbout_c
(
"I'm not master resending to %d"
,
nodeId
);
#endif
do_send
=
1
;
// try again
if
(
!
theFacade
->
get_node_alive
(
nodeId
))
m_master_node
=
nodeId
=
0
;
continue
;
}
event
.
Event
=
BackupEvent
::
BackupFailedToStart
;
...
...
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