X Tutup
Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

[BUG] Mishandling message websocket updates#2452

Merged
rafaelks merged 4 commits intodevelopfrom
fix/message-remote-updates
Dec 26, 2018
Merged

[BUG] Mishandling message websocket updates#2452
rafaelks merged 4 commits intodevelopfrom
fix/message-remote-updates

Conversation

@filipealva
Copy link
Contributor

@filipealva filipealva commented Dec 26, 2018

@RocketChat/ios

Part of solving this bug was to make sure that data and dataSorted were aligned with messagesQuery. The way we are doing it today can generate data races in some edge cases, and these data races may make us to lose some update yet.

In other words: the bug is fixed 💯 but we need to optimize the way we sync our "data pipeline" to avoid side effects caused by data races

Closes #2434

@filipealva filipealva added this to the 3.3.0 milestone Dec 26, 2018
Copy link
Contributor

@rafaelks rafaelks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@rafaelks rafaelks merged commit cf12458 into develop Dec 26, 2018
@rafaelks rafaelks deleted the fix/message-remote-updates branch December 26, 2018 11:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Mishandling message websocket updates

2 participants

X Tutup