https://bugzilla.wikimedia.org/show_bug.cgi?id=24761

           Summary: Make global extension more resilient to error
                    situations
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: GlobalUsage
        AssignedTo: bryan.tongm...@gmail.com
        ReportedBy: hart...@videolan.org


As witnessed today, when the Commons database goes down, this leads to db
errors after edits on many pages on unrelated databases.

This is possibly caused by GlobalUsage::onLinksUpdateComplete hook. This
retrieves the GlobalUsage db on every linksupdate, even if there are no images
at all on the page in question apparently.

I'm suggestion we check the size of missingFiles.

There are wider consequences however. Possibly we would want to create a system
where jobs like this are postponed if the global database is not available ? (a
refreshLinks job ?)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to