Add wfWaitForSlaves() call in DatabaseUpdater::runUpdates()
authorReedy <reedy@wikimedia.org>
Fri, 20 Jun 2014 20:15:31 +0000 (21:15 +0100)
committerReedy <reedy@wikimedia.org>
Wed, 23 Sep 2015 13:00:39 +0000 (13:00 +0000)
Related to bug T68887, but not the complete fix

Bug: T68887
Change-Id: I7320ca04d91f81fdf43d17e33c66cfc58c21a30c

includes/installer/DatabaseUpdater.php

index 7070790..57084cb 100644 (file)
@@ -455,6 +455,7 @@ abstract class DatabaseUpdater {
                        flush();
                        if ( $ret !== false ) {
                                $updatesDone[] = $origParams;
+                               wfWaitForSlaves();
                        } else {
                                $updatesSkipped[] = array( $func, $params, $origParams );
                        }