Merge "Add waitForReplication in DeleteLocalPasswords"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 1 Oct 2018 14:13:15 +0000 (14:13 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 1 Oct 2018 14:13:15 +0000 (14:13 +0000)
maintenance/includes/DeleteLocalPasswords.php

index 02c8bed..747319d 100644 (file)
@@ -143,6 +143,7 @@ ERROR
                        );
                }
                $this->total += $dbw->affectedRows();
+               MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->waitForReplication();
        }
 
        /**