jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



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: merged
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]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to