rdbms: fix LBFactory::commitAll() round handling
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 9 May 2018 21:44:34 +0000 (14:44 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 9 May 2018 21:51:18 +0000 (14:51 -0700)
commit205cfc185446ad9dd355d3a57f4ee60d0dc1de57
tree276a1bba4453d407d5d8c7ed6df174dfeb7904f0
parent037db443a5ea4b074feb3a40f453f19054c0dc79
rdbms: fix LBFactory::commitAll() round handling

This avoids "Transaction round stage must be approved (not cursory)".

Bug: T194308
Change-Id: I9dbfe9cede02b1b1904c1d5e5a9802306c2492a2
includes/libs/rdbms/lbfactory/LBFactory.php
includes/libs/rdbms/loadbalancer/ILoadBalancer.php
includes/libs/rdbms/loadbalancer/LoadBalancer.php
tests/phpunit/includes/db/LBFactoryTest.php