mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
Merge partial-fix-1063912-ptc-pxc-slaves/ -r403..405
This commit is contained in:
@@ -3320,7 +3320,9 @@ sub is_cluster_node {
|
||||
PTDEBUG && _d($sql);
|
||||
my $row = $self->{dbh}->selectrow_arrayref($sql);
|
||||
PTDEBUG && _d(defined $row ? @$row : 'undef');
|
||||
$self->{is_cluster_node} = $row && $row->[0] ? 1 : 0;
|
||||
$self->{is_cluster_node} = $row && $row->[1]
|
||||
? ($row->[1] eq 'ON' || $row->[1] eq '1')
|
||||
: 0;
|
||||
|
||||
return $self->{is_cluster_node};
|
||||
}
|
||||
@@ -11313,6 +11315,12 @@ nodes and regular replicas because nodes are not regular replicas so they
|
||||
cannot be detected automatically. The lag check (see L<"REPLICA CHECKS">)
|
||||
is not performed for cluster nodes.
|
||||
|
||||
Mixed replication setups are not currently supported. For example, the tool
|
||||
does not work completely if the master host is replicating to a cluster,
|
||||
or if the cluster is replicating to another cluster. In short, the only
|
||||
supported setup is a single cluster with nodes optionally having traditional
|
||||
replication slaves.
|
||||
|
||||
=back
|
||||
|
||||
=head1 BUGS
|
||||
|
Reference in New Issue
Block a user