Skip to content

Commit

Permalink
wsrep_sst_rsync: read correct configuration sections
Browse files Browse the repository at this point in the history
4bb49d8 had a single option, --mysqld to obtain
the required innodb_log_group_home_dir.

83664e2 enumberated the groups when --mysqld
was sufficient.
  • Loading branch information
grooverdan committed Jan 13, 2018
1 parent 7e4c185 commit 7dc5183
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions scripts/wsrep_sst_rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,7 @@ fi
WSREP_LOG_DIR=${WSREP_LOG_DIR:-""}
# if WSREP_LOG_DIR env. variable is not set, try to get it from my.cnf
if [ -z "$WSREP_LOG_DIR" ]; then
WSREP_LOG_DIR=$(parse_cnf mariadb-10.0 innodb_log_group_home_dir "")
fi
if [ -z "$WSREP_LOG_DIR" ]; then
WSREP_LOG_DIR=$(parse_cnf mysqld innodb_log_group_home_dir "")
fi
if [ -z "$WSREP_LOG_DIR" ]; then
WSREP_LOG_DIR=$(parse_cnf server innodb_log_group_home_dir "")
fi
if [ -z "$WSREP_LOG_DIR" ]; then
WSREP_LOG_DIR=$(parse_cnf mariadb innodb_log_group_home_dir "")
fi
if [ -z "$WSREP_LOG_DIR" ]; then
WSREP_LOG_DIR=$(parse_cnf mysqld-10.0 innodb_log_group_home_dir "")
WSREP_LOG_DIR=$(parse_cnf --mysqld innodb_log_group_home_dir "")
fi

if [ -n "$WSREP_LOG_DIR" ]; then
Expand Down

0 comments on commit 7dc5183

Please sign in to comment.