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] Chats holds to load history for some time until any action since 5.0 version #26361

Closed
ankar84 opened this issue Jul 26, 2022 · 10 comments
Closed

Comments

@ankar84
Copy link

ankar84 commented Jul 26, 2022

Description:

Since 5.0 I consider that some chats are loading history for a long time (some even infinite).
But on any action, history is loaded immediately.

Steps to reproduce:

  1. Search user you don't have recent talk (for easy reproduce, that could be any chats in fact)
  2. Click to start conversation with that user
  3. Chat history is loading even if there is no history and it as a brand new DM

Expected behavior:

Chats open fast like it was on a pre 5.0 versions

Actual behavior:

image
From opens server
load-history01

Server Setup Information:

  • Version of Rocket.Chat Server: 5.0.0
  • Operating System: OL8
  • Deployment Method: docker
  • Number of Running Instances: 3
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v14.19.3
  • MongoDB Version: 4.4.12 / wiredTiger (oplog Enabled)

Client Setup Information

  • Desktop App or Browser Version: Chrome 103
  • Operating System: Windows 10

Additional context

I see it on open.rocket.chat as well

Relevant logs:

No logs in moment of loading...

@ankar84 ankar84 changed the title [bug] Chats holds to load history for some time since 5.0 until any action [bug] Chats holds to load history for some time until any action since 5.0 version Jul 26, 2022
@stachi
Copy link

stachi commented Jul 26, 2022

Can confirm this with 5.0.0-rc12 (which is identical to final) with manual deployment. Tested with latest Firefox ESR. It happens very randomly.

@JeroenAdam
Copy link

JeroenAdam commented Jul 27, 2022

Yes, a large negative impact on performance since upgrading from 4.8.2
Rocketchat v5.0.0 - Mongo 5.0.5
Very annoying in large discussions when scrolling back, lots of loading animation (...) on the screen while nothing seems happening,
I tried dropping/creating the index navigation.token on messages, it is not a solution
It as as if the database performance dropped 20 times or more but the database was fine of course, prior to the upgrade.

@engelgabriel
Copy link
Member

Are there any errors on the browser console?

@ggazzo ggazzo added this to the 5.0.1 milestone Jul 28, 2022
@JeroenAdam
Copy link

No errors in console.
Maybe this screenshot can help.
image

@milton-rucks
Copy link

Task already included in the current sprint as a high priority - the team is working on that

@ankar84
Copy link
Author

ankar84 commented Aug 1, 2022

could be fixed in #26425

@chotaire
Copy link

chotaire commented Aug 3, 2022

Thanks for making this high priority. It's still broken in 5.0.1, chat history doesn't update until I move my mouse around and this absolutely needs fixed. I wonder how that slipped through, everyone should have seen this bug happening right away?

@ankar84
Copy link
Author

ankar84 commented Aug 3, 2022

Thanks for making this high priority. It's still broken in 5.0.1, chat history doesn't update until I move my mouse around and this absolutely needs fixed. I wonder how that slipped through, everyone should have seen this bug happening right away?

Guess that will be fixed in 5.0.2 according to a milestone label in PR

@milton-rucks
Copy link

Fixed in 5.0.3
#26425

@shevchukma
Copy link

We confirm. In our installation, the bug is gone. Thanks a lot!

@casalsgh casalsgh removed this from the 5.1.0 milestone Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants