Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/323345
Change subject: Wait for slave lag to catch up on the correct database
......................................................................
Wait for slave lag to catch up on the correct database
Change-Id: I073fb2559bc22b535adca0d4de8958b4e9e971b5
(cherry picked from commit dd56d0ea767a50064369e5348957d32f948ae108)
---
M maintenance/populateLocalAndGlobalIds.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth
refs/changes/45/323345/1
diff --git a/maintenance/populateLocalAndGlobalIds.php
b/maintenance/populateLocalAndGlobalIds.php
index aa98fb5..69a28be 100644
--- a/maintenance/populateLocalAndGlobalIds.php
+++ b/maintenance/populateLocalAndGlobalIds.php
@@ -76,7 +76,7 @@
}
}
$this->output( "Updated $numRows records. Last
user: $lastGlobalId; Wiki: $wiki \n" );
- wfWaitForSlaves();
+ CentralAuthUtils::waitForSlaves();
} while ( $numRows >= $this->mBatchSize );
$lb->reuseConnection( $ldbr );
}
--
To view, visit https://gerrit.wikimedia.org/r/323345
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I073fb2559bc22b535adca0d4de8958b4e9e971b5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: wmf/1.29.0-wmf.3
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits