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

Channel state may duplicate messages when multiple messages with the same creation timestamp are present #1152

Open
MartinCupela opened this issue Aug 2, 2023 · 0 comments
Assignees

Comments

@MartinCupela
Copy link
Contributor

Description

If a refetch of the same message set takes place, it is possible, that the same message will be added to the channel state twice. This can happen when multiple messages have the same time of creation for example. The search algorithm finds a position of a message with different ID but the same creation timestamp. As the IDs do not match, the messages is added once again to the state next to the found message.

@MartinCupela MartinCupela self-assigned this Aug 2, 2023
@MartinCupela MartinCupela changed the title Channel state may duplicate messages Channel state may duplicate messages when multiple messages with the same creation timestamp are present Aug 4, 2023
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

1 participant