Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/141049

Change subject: Add wfWaitForSlaves() call in DatabaseUpdater::runUpdates()
......................................................................

Add wfWaitForSlaves() call in DatabaseUpdater::runUpdates()

Related to bug 66887, but not the complete fix

Bug: 66887
Change-Id: I7320ca04d91f81fdf43d17e33c66cfc58c21a30c
---
M includes/installer/DatabaseUpdater.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/49/141049/1

diff --git a/includes/installer/DatabaseUpdater.php 
b/includes/installer/DatabaseUpdater.php
index 82a358e..a4f4b4c 100644
--- a/includes/installer/DatabaseUpdater.php
+++ b/includes/installer/DatabaseUpdater.php
@@ -442,6 +442,7 @@
                        flush();
                        if ( $ret !== false ) {
                                $updatesDone[] = $origParams;
+                               wfWaitForSlaves();
                        } else {
                                $updatesSkipped[] = array( $func, $params, 
$origParams );
                        }

-- 
To view, visit https://gerrit.wikimedia.org/r/141049
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7320ca04d91f81fdf43d17e33c66cfc58c21a30c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>

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

Reply via email to