rdbms: make safeWaitForMasterPos() handle master connection failure
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 23 Jan 2019 19:32:18 +0000 (11:32 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 26 Feb 2019 18:46:44 +0000 (18:46 +0000)
commit7f3483e51495a9fc8b2dbfc95b02afbb9b9f5bc9
tree93e0518ac16b98222a1f07cdecf75dbc1961d300
parenta2b85209e225b7420de03d9c33f7344641899503
rdbms: make safeWaitForMasterPos() handle master connection failure

Previously, in such cases where a master connection was needed
and could not be acquired, a fatal error would occur. Instead,
throw a DBReplicationWaitError exception.

Also removed a redundant documentation block for the method.

Change-Id: Ide3015d57673df0876daf265a0182fe41004052d
includes/libs/rdbms/loadbalancer/LoadBalancer.php