X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FRedisBagOStuff.php;h=f9d201f489012d9696a55982a2a9583ff1cc8f25;hb=16266edff3337c893a1b5bc42e0bd006a828cde3;hp=c3e0c96b7554ee45f6796e002ba06e4c0745b8d0;hpb=c1efb8dfee7f57dc680df42980b7df4f636b5560;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/RedisBagOStuff.php b/includes/objectcache/RedisBagOStuff.php index c3e0c96b75..f9d201f489 100644 --- a/includes/objectcache/RedisBagOStuff.php +++ b/includes/objectcache/RedisBagOStuff.php @@ -363,7 +363,7 @@ class RedisBagOStuff extends BagOStuff { try { if ( $this->getMasterLinkStatus( $conn ) === 'down' ) { // If the master cannot be reached, fail-over to the next server. - // If masters are in data-center A, and slaves in data-center B, + // If masters are in data-center A, and replica DBs in data-center B, // this helps avoid the case were fail-over happens in A but not // to the corresponding server in B (e.g. read/write mismatch). continue; @@ -384,10 +384,10 @@ class RedisBagOStuff extends BagOStuff { } /** - * Check the master link status of a Redis server that is configured as a slave. + * Check the master link status of a Redis server that is configured as a replica DB. * @param RedisConnRef $conn * @return string|null Master link status (either 'up' or 'down'), or null - * if the server is not a slave. + * if the server is not a replica DB. */ protected function getMasterLinkStatus( RedisConnRef $conn ) { $info = $conn->info();