[buddypress-trac] [BuddyPress Trac] #5572: last_activity migration function is unnecessarily slow

buddypress-trac noreply at wordpress.org
Wed Apr 30 09:13:07 UTC 2014


#5572: last_activity migration function is unnecessarily slow
--------------------------+--------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.0.1
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by DJPaul):

 Boone: patch looks OK, but two questions:

 * If a user has last_activity in the activity table but not in usermeta.
 Does this situation exist in any way in core at the moment? If it did,
 users affected wouldn't show up in member lists etc until that user's
 logged in and BP's regenerated the key, which seems acceptable to me as a
 consequence of this (hopefully) once-off migration.

 * We're deleting the records directly in the database. Do we need to clear
 any caches?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5572#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list