mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-26171: wsrep_sst_receive_address does not parse IPv6 address correctly
This commit fixes problems with parsing ipv6 addresses given via the wsrep_sst_receive_address and wsrep_node_address options. Also, this commit removes extra lines in the configuration files in the mtr test suites for Galera related to these parameters.
This commit is contained in:
@ -889,12 +889,12 @@ else
|
||||
if ! mkdir -p "$sstlogarchivedir"; then
|
||||
sstlogarchivedir=""
|
||||
wsrep_log_warning \
|
||||
"Unable to create '$sstlogarchivedir' directory"
|
||||
"Unable to create '$sstlogarchivedir' directory"
|
||||
fi
|
||||
elif [ ! -w "$sstlogarchivedir" ]; then
|
||||
sstlogarchivedir=""
|
||||
wsrep_log_warning \
|
||||
"The '$sstlogarchivedir' directory is not writtable"
|
||||
"The '$sstlogarchivedir' directory is not writtable"
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -918,7 +918,7 @@ else
|
||||
newfile="$INNOMOVELOG.$ARCHIVETIMESTAMP"
|
||||
fi
|
||||
wsrep_log_info "Moving '$INNOMOVELOG' to '$newfile'"
|
||||
mv "$INNOMOVELOG" "$newfile" && gzip "$newfile" ||
|
||||
mv "$INNOMOVELOG" "$newfile" && gzip "$newfile" || \
|
||||
wsrep_log_warning "Failed to archive log file ('$newfile')"
|
||||
fi
|
||||
|
||||
@ -930,7 +930,7 @@ else
|
||||
newfile="$INNOBACKUPLOG.$ARCHIVETIMESTAMP"
|
||||
fi
|
||||
wsrep_log_info "Moving '$INNOBACKUPLOG' to '$newfile'"
|
||||
mv "$INNOBACKUPLOG" "$newfile" && gzip "$newfile" ||
|
||||
mv "$INNOBACKUPLOG" "$newfile" && gzip "$newfile" || \
|
||||
wsrep_log_warning "Failed to archive log file ('$newfile')"
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user