You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to check for and fix synchronization issues directly in the database: jywarren#129 (comment)
CREATEVIEWview_node_like_countASSELECTnode_selections.nid, sum(liking)
AS num_likes, cached_likes, title FROM node_selections, node WHEREnode.nid=node_selections.nidGROUP BYnode_selections.nid;
SELECT*FROM view_node_like_count WHERE cached_likes <> num_likes;
UPDATE node,view_node_like_count
SETnode.cached_likes=view_node_like_count.num_likesWHEREnode.nid=view_node_like_count.nidANDnode.cached_likes<>view_node_like_count.num_likes;
There are still problems with synchronization. I resynchronized cached_likes earlier today.
Snippet from a relevant comment (jywarren#129 (comment)):
A particular user was associated with 25 like mismatches (in the top 5 mismatches), but that user has almost no association with the site in 2 years and the profile indicates no likes at all. The database suggests the user hasn't logged in since August 2013, but the last synchronization happened after that.
I just checked, the id is the same in users and rusers (checking in case the wrong id was being used to update likes)
The text was updated successfully, but these errors were encountered:
How to check for and fix synchronization issues directly in the database:
jywarren#129 (comment)
There are still problems with synchronization. I resynchronized cached_likes earlier today.
Snippet from a relevant comment (jywarren#129 (comment)):
A particular user was associated with 25 like mismatches (in the top 5 mismatches), but that user has almost no association with the site in 2 years and the profile indicates no likes at all. The database suggests the user hasn't logged in since August 2013, but the last synchronization happened after that.
I just checked, the id is the same in users and rusers (checking in case the wrong id was being used to update likes)
The text was updated successfully, but these errors were encountered: