rdbms: fix ChronologyProtector client IDs to not be empty
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 22 May 2019 18:00:55 +0000 (11:00 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 25 May 2019 06:42:32 +0000 (23:42 -0700)
commit17de18691706ae390b8391819d332d881beca604
tree507c6354e96d40c5bfb5d4168cea4ea08a5faa42
parentefaea6cc0e77ffad71e75621598a1fac55423d48
rdbms: fix ChronologyProtector client IDs to not be empty

Follow up to 8107fddd8fe3d5

Also improve debug logging and add some unit tests

Bug: T223310
Bug: T223978
Change-Id: I35484385e4da2912bc10f5e8d2fb07cb1097347e
includes/libs/rdbms/ChronologyProtector.php
includes/libs/rdbms/lbfactory/LBFactory.php
tests/phpunit/includes/db/LBFactoryTest.php
tests/phpunit/includes/libs/rdbms/ChronologyProtectorTest.php [new file with mode: 0644]