// Wait before lock to try to reduce time waiting in the lock.
if ( !$loadBalancer->safeWaitForMasterPos( $dbr ) ) {
- $this->setLastError( 'Timed out while waiting for slave to catch up before lock' );
+ $this->setLastError( 'Timed out waiting for replica to catch up before lock' );
return false;
}
}
if ( !$loadBalancer->safeWaitForMasterPos( $dbr ) ) {
- $this->setLastError( 'Timed out while waiting for slave to catch up within lock' );
+ $this->setLastError( 'Timed out waiting for replica to catch up within lock' );
return false;
}