Give all idle transaction callbacks a chance to run
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 19 Aug 2016 22:25:08 +0000 (15:25 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sun, 21 Aug 2016 04:33:13 +0000 (21:33 -0700)
commit979f550b6fbb16191aeef0f1c1bbbd6ff30eb26e
treec12ddaba2a8da04499600b191e1006c64e7802a3
parentef5ef7e2ae8262b503ed859129c3fcf6101fe2bd
Give all idle transaction callbacks a chance to run

Catch exceptions from other DB handle callback runs.
Also use the first exception instead of the last for
callback runs, as the it is more likely to be meaningfull.

Change-Id: Ib180d684b090ae26ad6ec0854322d5cb4286cc81
includes/db/Database.php
includes/db/loadbalancer/LBFactory.php
includes/db/loadbalancer/LoadBalancer.php