This is a pretty big class that might benefit from some more refactoring first. It has a comment from 3 years ago that says:
// @TODO: split the class so it needs less injection
And, on a related note, LBFactory is currently not injected but created in multiple places via
$lbFactory = MediaWikiServices::getInstance()->getDBLoadBalancerFactory(); // TODO inject
and then used with
$lbFactory->getMainLB( $this->repoWiki ),
to create the SessionConsistentConnectionManager, SiteLinkLookup, and EntityChangeLookup.