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

[client] Feature/relay integration fix reconnection #2405

Merged

Conversation

pappz
Copy link
Contributor

@pappz pappz commented Aug 7, 2024

Describe your changes

When a peer disconnects gracefully from the server and immediately connects back, then the server will clean up an incorrect peer instance from the in-memory store. In this fix the store checks the peers instance before deleting it.

Error happened here:
https://github.com/netbirdio/netbird/actions/runs/10281624634/job/28451564919?pr=2399

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@pappz pappz changed the title Feature/relay integration fix reconnection [client] Feature/relay integration fix reconnection Aug 15, 2024
@pappz pappz changed the base branch from feature/relay-integration to feature/relay-integration-r53 August 15, 2024 12:27
relay/server/store.go Outdated Show resolved Hide resolved
Copy link

@pappz pappz merged commit 2b00c99 into feature/relay-integration-r53 Aug 16, 2024
14 of 20 checks passed
@pappz pappz deleted the feature/relay-integration-fix-reconnection branch August 16, 2024 08:35
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

Successfully merging this pull request may close these issues.

2 participants