[buddypress-trac] [BuddyPress] #4804: Activity meta cache not flushed after BP_Activity_Activity::delete_activity_meta_entries()
buddypress-trac
noreply at wordpress.org
Thu May 9 14:26:51 UTC 2013
#4804: Activity meta cache not flushed after
BP_Activity_Activity::delete_activity_meta_entries()
------------------------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: low | Milestone: 1.8
Component: Activity | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch 2nd-opinion commit |
------------------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"7051"]:
{{{
#!CommitTicketReference repository="" revision="7051"
When deleting an activity item, clear its metadata cache
Because of the way that the cache groups are structured, there is no
simple
way to figure out which cache keys should be dropped upon deletion. Our
solution is to scan through all the keys in the 'bp' group to determine
the
relevant ones. It's not particularly elegant, but this kind of cache-
busting
will happen rarely (namely, when an activity item is deleted) so the
overhead
is negligible.
Fixes #4804
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4804#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list