Page MenuHomePhabricator

Make LinkCache usable from PageStore
Closed, ResolvedPublic

Description

LinkCache is currently used as a cache inside Title. It should be changed to allow it to be used from inside PageStore as well. That way, the old and the new way of accessing information from the page table share a cache, and the logic for purging/updating that cache is already in place.

Event Timeline

Change 676078 had a related patch set uploaded (by Vadim Kovalenko; author: Vadim Kovalenko):

[mediawiki/core@master] Update LinkCache methods to accept PageIdentity

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

daniel renamed this task from Update LinkCache methods to accept PageIdentity to Convert LinkCache to PageRecord.May 11 2021, 5:08 PM
daniel claimed this task.
daniel updated the task description. (Show Details)

Change 682964 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/core@master] EXPERIMENT: LinkCache: use PageRecord

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

Change 697656 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/core@master] LinkCache: store DB rows compatible with PageStoreRecord.

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

Change 697803 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/core@master] LinkCache: accept Pagereference and other keys

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

Change 697803 merged by jenkins-bot:

[mediawiki/core@master] Make LinkCache behavior more consistent

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

daniel renamed this task from Convert LinkCache to PageRecord to Make LinkCache usable from PageStore.Aug 22 2021, 3:09 PM
daniel updated the task description. (Show Details)

Change 676078 abandoned by Ppchelko:

[mediawiki/core@master] Update LinkCache methods to accept PageIdentity

Reason:

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

Change 697656 merged by jenkins-bot:

[mediawiki/core@master] PageStore: Use LinkCache

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

Change 682964 abandoned by Daniel Kinzler:

[mediawiki/core@master] EXPERIMENT: LinkCache: use PageRecord

Reason:

stale

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