InjectRCRecordsJob uses ILBFactory in a way that might be somewhat unanticipated in this endeavour:
$trxToken = $this->lbFactory->getEmptyTransactionTicket( __METHOD__ );
// Wait for all database replicas to be updated, but only for the affected client wiki. The // "domain" argument is documented at ILBFactory::waitForReplication. $this->lbFactory->commitAndWaitForReplication( __METHOD__, $trxToken, [ 'domain' => wfWikiID() ] );
We need to figure out if and how to replace this with the new service.