Be more prcise in which cluster_config sections should be expanded.
Ie don't treat cluster_config.mysqld.1.1 as a section specifying a cluster
This commit is contained in:
parent
32dcf68480
commit
dbf6b9dc3f
@ -416,7 +416,7 @@ sub post_fix_mysql_cluster_section {
|
||||
|
||||
# Add a [mysl_cluster.<suffix>] section for each
|
||||
# defined [cluster_config.<suffix>] section
|
||||
foreach my $group ( $config->like('cluster_config.') )
|
||||
foreach my $group ( $config->like('cluster_config.[0-9]') )
|
||||
{
|
||||
my @urls;
|
||||
# Generate ndb_connectstring for this cluster
|
||||
@ -497,7 +497,7 @@ sub run_generate_sections_from_cluster_config {
|
||||
my @options= ('ndb_mgmd', 'ndbd',
|
||||
'mysqld', 'ndbapi');
|
||||
|
||||
foreach my $group ( $config->like('cluster_config.') ) {
|
||||
foreach my $group ( $config->like('cluster_config.[0-9]') ) {
|
||||
|
||||
# Keep track of current index per process type
|
||||
my %idxes;
|
||||
@ -580,7 +580,7 @@ sub new_config {
|
||||
|
||||
|
||||
$self->run_section_rules($config,
|
||||
'cluster_config.',
|
||||
'cluster_config.[0-9]',
|
||||
@cluster_config_rules);
|
||||
$self->run_generate_sections_from_cluster_config($config);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user