Michael created this task.
Michael added projects: wdwb-tech, Wikidata, Wikidata-Campsite 
(Wikidata-Campsite-Iteration-∞), User-Michael.

TASK DESCRIPTION
  The abstract class `ChangeModificationNotificationJob` has two concrete 
implementations, `ChangeDeletionNotificationJob` and 
`ChangeVisibilityNotificationJob`. All three of them use LBFactory in some way.
  
  `ChangeModificationNotificationJob` uses it with
  
    $this->lbFactory->getMainLB()->getConnection( DB_REPLICA );
  
  and the two concrete implementation use it with
  
    $dbw = $this->lbFactory->getMainLB()->getConnection( DB_MASTER );
  
  and
  
    $this->lbFactory->waitForReplication();
  
  (We maybe could use this opportunity to replace the deprecated constant 
`DB_MASTER` with `DB_PRIMARY`.)

TASK DETAIL
  https://phabricator.wikimedia.org/T283328

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Aklapper, Michael, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Addshore, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to