https://bugzilla.wikimedia.org/show_bug.cgi?id=47482
Web browser: ---
Bug ID: 47482
Summary: RedisCategorySync doesn't work due to core change
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: GettingStarted
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Since c3e39d2b6d5f6895389bd9acb38c4dfa6b243890 in core, RedisCategorySync does
not work because the category updates
(onCategoryAfterPageAdded/onCategoryAfterPageRemoved) (can) run *after*
onLinksUpdateComplete. The change was to improve performance by moving
updateCategoryCounts to the end of the transaction.
I see two options:
1. No longer batch the adds and removes. This may not be okay if Redis is fast
enough.
2. Find another hook for batching that is guaranteed to be late enough. There
isn't an obvious good choice here, but I looked briefly.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l