mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 07:30:02 +00:00
PT-1707 IPV6 support for recursion method processlist
This commit is contained in:
@@ -2434,7 +2434,7 @@ sub _find_slaves_by_processlist {
|
||||
}
|
||||
grep { $_ }
|
||||
map {
|
||||
my ( $host ) = $_->{host} =~ m/^([^:]+):/;
|
||||
my ( $host ) = $_->{host} =~ m/^(.*):\d+$/;
|
||||
if ( $host eq 'localhost' ) {
|
||||
$host = '127.0.0.1'; # Replication never uses sockets.
|
||||
}
|
||||
|
Reference in New Issue
Block a user