Pro not showing most popular groups
Summary
Pro users groups page only shows a handful of groups with only a hand full of members, he has many popular groups. Also it should be sorted by popularity.
@edgebal commented: Seems we just found some rounding issue on group owner GUIDs, we might need to check ElasticSearch. I see 614198139255005200 as the owner, and FretzCapo is 614198139255005203. Looks like JS rounding.
Steps to reproduce
- Visit https://www.minds.com/pro/FretzCapo/groups
- The groups listed in his channel description are the ones he would like to appear on his pro page
- Observe none of his popular groups (listed on his profile bio) are there, e.g. UnfuckTheWorld
He says he is the original creator of the groups.
Platform information
Browser
What is the current bug behavior?
Small groups are the only ones showing up.
What is the expected correct behavior?
- Should be sorted by popularity.
- Should find all groups.
Alternative
- Use Groups channel belongs to
- Channel can show or hide groups they belong to on their pro page
Relevant logs and/or screenshots
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
changed milestone to %Misc. Q4 2019
added scoped labels
added scoped label and automatically removed label
changed the description
changed the description
changed weight to 4
assigned to @edgebal
changed time estimate to 4h
added scoped label and automatically removed label
added scoped label
added scoped label and automatically removed label
- Developer
Cause update
Bug is likely related to the usage of Top Feeds with a 7 day limit with a
owner_guid
constraint. Since the Top groups are calculated based on actual votes happened in a time range, there might be some issues trying to narrow down results to a single group owner:- Sync job has a aggregation threshold of 10000 vote actions. On busy moments, some activities outside this threshold won't be part of the aggregation and not taken in account.
- Small groups with no significant upvote activity won't be part of the aggregation.