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