Page MenuHomePhabricator

Replace ILBFactory with the new Db-Service in Repo's CleanTermsIfUnusedJob and related classes
Closed, ResolvedPublic

Description

Replace usage of ILBFactory with RepoDomainDb in the following related classes:

  • CleanTermsIfUnusedJob
  • DatabaseInnerTermStoreCleaner
  • DatabaseUsageCheckingTermStoreCleaner

Note that DatabaseInnerTermStoreCleaner and DatabaseUsageCheckingTermStoreCleaner are also created and used in the RemoveDeletedItemsFromTermStore maintenance script, but that should be deleted in T283945.

Event Timeline

Change 699771 had a related patch set uploaded (by Dat Nguyen; author: Dat Nguyen):

[mediawiki/extensions/Wikibase@master] Update lb in DatabaseUsageCheckingTermStoreCleaner

https://gerrit.wikimedia.org/r/699771

Change 699949 had a related patch set uploaded (by Tobias Andersson; author: Dat Nguyen):

[mediawiki/extensions/Wikibase@master] Update lb in DatabaseUsageCheckingTermStoreCleaner

https://gerrit.wikimedia.org/r/699949

Change 699949 abandoned by Tobias Andersson:

[mediawiki/extensions/Wikibase@master] Update lb in DatabaseUsageCheckingTermStoreCleaner

Reason:

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/ /699771

https://gerrit.wikimedia.org/r/699949

Change 699771 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Update lb in DatabaseUsageCheckingTermStoreCleaner

https://gerrit.wikimedia.org/r/699771