diff --git a/bin/pt-archiver b/bin/pt-archiver index 4e3d48b7..093b11af 100755 --- a/bin/pt-archiver +++ b/bin/pt-archiver @@ -7285,7 +7285,7 @@ sub main { PTDEBUG && _d('Got another row in this chunk'); } - # Check slave lag and wait if slave is too far behind. + # Check replica lag and wait if slave is too far behind. # Do this check every 100 rows if (@lag_dbh && $lag_count++ % 100 == 0 ) { foreach my $lag_server (@lag_dbh) { @@ -7294,9 +7294,9 @@ sub main { if ( $lag_dbh ) { my $lag = $ms->get_replica_lag($lag_dbh); while ( !defined $lag || $lag > $o->get('max-lag') ) { - PTDEBUG && _d("Sleeping: slave lag for server '$id' is", $lag); + PTDEBUG && _d("Sleeping: replica lag for server '$id' is", $lag); if ($o->got('progress')) { - _d("Sleeping: slave lag for server '$id' is", $lag); + _d("Sleeping: replica lag for server '$id' is", $lag); } sleep($o->get('check-interval')); $lag = $ms->get_replica_lag($lag_dbh); diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change index c9a78474..5e05bb17 100755 --- a/bin/pt-online-schema-change +++ b/bin/pt-online-schema-change @@ -9272,7 +9272,7 @@ sub main { } if ( my $dsn = $o->get('check-replica-lag') ) { - PTDEBUG && _d('Will use --check-replica-lag to check for slave lag'); + PTDEBUG && _d('Will use --check-replica-lag to check for replica lag'); my $cxn = $make_cxn->( dsn_string => $o->get('check-replica-lag'), #prev_dsn => $cxn->dsn(),