Update:Remora Database/Object Caching: Difference between revisions

parent callback explanation: bug 456090.
(→‎Basic concepts: parent callback)
(parent callback explanation: bug 456090.)
 
Line 65: Line 65:
=== 6: instant cache invalidation ===
=== 6: instant cache invalidation ===
At write time, we use markListForFlush() to mark one or more of the expiration list IDs for flushing. Each of these lists will be looped through and each contained object ID will be deleted from memcache.
At write time, we use markListForFlush() to mark one or more of the expiration list IDs for flushing. Each of these lists will be looped through and each contained object ID will be deleted from memcache.
=== 7: parent callback ===
Our app_model contains code for the translation framework. Failure to call the parent's afterSave() callback after it was overwritten in the Addon model caused translations not to be saved ({{bug|456090}}), so... remember to do that.
Confirmed users
1,209

edits