Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Missing posts, Communities not showing all posts #3515

Closed
4 tasks done
mermit opened this issue Jul 6, 2023 · 9 comments · Fixed by #3521
Closed
4 tasks done

[Bug]: Missing posts, Communities not showing all posts #3515

mermit opened this issue Jul 6, 2023 · 9 comments · Fixed by #3521
Labels
bug Something isn't working

Comments

@mermit
Copy link

mermit commented Jul 6, 2023

Requirements

  • Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a single bug? Do not put multiple bugs in one issue.
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.

Summary

Posts are missing on some communities, for example:

Other users also seem to be having the same issues: https://lemm.ee/post/737999

Steps to Reproduce

  1. Go To https://lemmy.ml/c/citiesskylines, only showing 2 posts
  2. Go To https://lemmy.world/c/[email protected], showing all expected posts

Technical Details

Affected instances are running UI: 0.18.1-rc.11, BE: 0.18.1-rc.10.

Could possibly be a UI error too, however the same thing happens on the Memmy IOS App

Version

BE 0.18.1-rc.10

Lemmy Instance URL

lemm.ee, lemmy.ca

@mermit mermit added the bug Something isn't working label Jul 6, 2023
@RocketDerp

This comment was marked as abuse.

@dessalines
Copy link
Member

This is due to a filter I added to massively improve performance of the active and hot sorts. I'll have to revert it unfortunately I think.

@wereii
Copy link
Contributor

wereii commented Jul 6, 2023

UI: 0.18.1-rc.11
BE: 0.18.1-rc.10

Can confirm the same problem. This community has been first visited on the versions specified.
https://biglemmowski.win/c/[email protected]

Additionally seeing unsynced posts again.
Edit3: Moved these notes into comment in #3525

@finnim
Copy link

finnim commented Jul 7, 2023

I can confirm that this also causes pinned posts to disappear.

If I remember correctly, the way reddit calculated "hot' was to give a weight to the score and a weight to the newness of a post. The older it got the lower its hotness due to age becoming an exponentially negative multiplier. With such a formula it should be possible to calculate a hot score without having to filter.

@Shatur
Copy link

Shatur commented Jul 11, 2023

@Nutomic I recently posted this post to game development. But the post is missing if you click in the community (just click on it from the post). Is this this same bug, or should I open a separate issue?

@mermit
Copy link
Author

mermit commented Jul 11, 2023

@Shatur I can see it from the community itself (not logged in on lemmy.ml tho). Is it possible that you have “show read posts” turned off?

@Shatur
Copy link

Shatur commented Jul 11, 2023

Oh, I just tried it again and I can see it now too.
That's odd, the post was missing yesterday and before writing my message here. Also, the post didn't show up on my profile before (I had only two posts in my profile, now I can see all of them).

@Shatur
Copy link

Shatur commented Jul 11, 2023

Oh, I know what happening. I changed languages to "Undefined". This is why most posts were missing.
Surprised that it also affects my own posts. Sorry for the mess.

@mermit
Copy link
Author

mermit commented Jul 11, 2023

Oh! So that’s what happened. And no worries we both learned something from it. Also am happy that it is not an inconsistent bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
6 participants