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

Fix bug declaring/undeclaring tokens with the same key #1619

Merged
merged 3 commits into from
Nov 29, 2024

Conversation

OlivierHecart
Copy link
Contributor

There was 2 possible paths here:

  1. Change declare_liveliness_inner to manage twin tokens (similar to subscribers).
  2. Change undeclare_liveliness_inner to manage twin tokens independently.

Since the plan to have a routing less client is dead, the twin management in Session does not make much sense any more as it is also performed in routing. It just adds complexity for few or inexistent benefit.
So I opted for path 2.

@OlivierHecart OlivierHecart added the bug Something isn't working label Nov 29, 2024
@OlivierHecart OlivierHecart linked an issue Nov 29, 2024 that may be closed by this pull request
@OlivierHecart OlivierHecart merged commit c764bf9 into main Nov 29, 2024
24 checks passed
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.

Bug when declaring 2 liveliness tokens with the same key
3 participants