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
e1952a7b
Commit
e1952a7b
authored
Oct 05, 2004
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge heikki@build.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/heikki/mysql-4.1
parents
3985d58a
fe17ceca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ndb/src/mgmsrv/ConfigInfo.cpp
ndb/src/mgmsrv/ConfigInfo.cpp
+9
-1
No files found.
ndb/src/mgmsrv/ConfigInfo.cpp
View file @
e1952a7b
...
...
@@ -3501,6 +3501,8 @@ check_node_vs_replicas(Vector<ConfigInfo::ConfigRuleSection>§ions,
BaseString
node_group_warning
,
arbitration_warning
;
const
char
*
arbit_warn_fmt
=
"
\n
arbitrator with id %d and db node with id %d on same host %s"
;
const
char
*
arbit_warn_fmt2
=
"
\n
arbitrator with id %d has no hostname specified"
;
ctx
.
m_userProperties
.
get
(
"NoOfNodes"
,
&
n_nodes
);
for
(
i
=
0
,
n
=
0
;
n
<
n_nodes
;
i
++
){
...
...
@@ -3583,13 +3585,19 @@ check_node_vs_replicas(Vector<ConfigInfo::ConfigRuleSection>§ions,
arbitration_warning
.
appfmt
(
arbit_warn_fmt
,
i
,
ii
,
host
);
}
}
else
{
arbitration_warning
.
appfmt
(
arbit_warn_fmt2
,
i
);
}
}
}
}
if
(
db_host_count
>
1
&&
node_group_warning
.
length
()
>
0
)
ndbout_c
(
"Cluster configuration warning:
\n
%s"
,
node_group_warning
.
c_str
());
if
(
db_host_count
>
1
&&
arbitration_warning
.
length
()
>
0
)
ndbout_c
(
"Cluster configuration warning:%s"
,
arbitration_warning
.
c_str
());
ndbout_c
(
"Cluster configuration warning:%s%s"
,
arbitration_warning
.
c_str
(),
"
\n
Running arbitrator on the same host as a database node may"
"
\n
cause complete cluster shutdown in case of host failure."
);
}
return
true
;
}
...
...
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