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/liveliness duplicate #1404

Merged
merged 5 commits into from
Sep 13, 2024
Merged

Bug/liveliness duplicate #1404

merged 5 commits into from
Sep 13, 2024

Conversation

OlivierHecart
Copy link
Contributor

This PR fixes several issues occurring when multiple Liveliness subs or liveliness subs and liveliness get with intersecting key expressions with or without history. The issues were mainly token duplicates or missed token undeclares.

@OlivierHecart OlivierHecart added the bug Something isn't working label Sep 12, 2024
@Mallets
Copy link
Member

Mallets commented Sep 12, 2024

Would it be possible to add tests to the CI to catch this bug in the future?

@OlivierHecart OlivierHecart merged commit 08768e9 into main Sep 13, 2024
22 of 24 checks passed
@OlivierHecart OlivierHecart deleted the bug/liveliness_duplicate branch September 13, 2024 08:38
fuzzypixelz pushed a commit that referenced this pull request Sep 23, 2024
* Don't resend identical declares with different ids

* Clients and peers don't return local tokens from routers to avoid duplicates

* User session answers LivelinessSubscribers history with locally known tokens

* Session deduplicates incomming tokens
fuzzypixelz pushed a commit that referenced this pull request Sep 23, 2024
* Don't resend identical declares with different ids

* Clients and peers don't return local tokens from routers to avoid duplicates

* User session answers LivelinessSubscribers history with locally known tokens

* Session deduplicates incomming tokens
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
Development

Successfully merging this pull request may close these issues.

3 participants