61 public function write( array $updates ) {
62 $lbFactory = MediaWikiServices::getInstance()->getDBLoadBalancerFactory();
63 $ticket = $lbFactory->getEmptyTransactionTicket( __METHOD__ );
65 foreach ( $updates as $update ) {
69 $update[
'primaryKey'],
74 $lbFactory->commitAndWaitForReplication( __METHOD__, $ticket );