rdbms: fix LBFactory::commitAll() round handling
[lhc/web/wiklou.git] / includes / libs / rdbms / lbfactory / LBFactory.php
index fe18536..38c7a5c 100644 (file)
@@ -216,7 +216,8 @@ abstract class LBFactory implements ILBFactory {
 
        final public function commitAll( $fname = __METHOD__, array $options = [] ) {
                $this->commitMasterChanges( $fname, $options );
-               $this->forEachLBCallMethod( 'commitAll', [ $fname ] );
+               $this->forEachLBCallMethod( 'flushMasterSnapshots', [ $fname ] );
+               $this->forEachLBCallMethod( 'flushReplicaSnapshots', [ $fname ] );
        }
 
        final public function beginMasterChanges( $fname = __METHOD__ ) {