dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change "slave" => "replica DB" in /includes
[lhc/web/wiklou.git]
/
includes
/
jobqueue
/
jobs
/
CategoryMembershipChangeJob.php
diff --git
a/includes/jobqueue/jobs/CategoryMembershipChangeJob.php
b/includes/jobqueue/jobs/CategoryMembershipChangeJob.php
index
b561021
..
94e7248
100644
(file)
--- a/
includes/jobqueue/jobs/CategoryMembershipChangeJob.php
+++ b/
includes/jobqueue/jobs/CategoryMembershipChangeJob.php
@@
-58,9
+58,9
@@
class CategoryMembershipChangeJob extends Job {
}
$dbr = wfGetDB( DB_SLAVE, [ 'recentchanges' ] );
}
$dbr = wfGetDB( DB_SLAVE, [ 'recentchanges' ] );
- // Wait till the
slave
is caught up so that jobs for this page see each others' changes
+ // Wait till the
replica DB
is caught up so that jobs for this page see each others' changes
if ( !wfGetLB()->safeWaitForMasterPos( $dbr ) ) {
if ( !wfGetLB()->safeWaitForMasterPos( $dbr ) ) {
- $this->setLastError( "Timed out while waiting for
slave
to catch up" );
+ $this->setLastError( "Timed out while waiting for
replica DB
to catch up" );
return false;
}
// Clear any stale REPEATABLE-READ snapshot
return false;
}
// Clear any stale REPEATABLE-READ snapshot