[PR #960] [MERGED] Fix: Skip state notification should use a copy of the previous peer state #13187

Closed
opened 2026-08-05 02:07:41 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/960
Author: @mlsmaycon
Created: 6/16/2023
Status: Merged
Merged: 6/17/2023
Merged by: @mlsmaycon

Base: mainHead: fix/peer-conn-status-use-oldstate


📝 Commits (2)

  • a5424df Fix: Skip state notification should use a copy of the previous peer state
  • d7beec8 use a bool var instead

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 client/internal/peer/status.go (+3 -1)

📄 Description

Describe your changes

This was affecting the behavior of the route manager, causing issues with HA and with cases of flaky connections.

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/960 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 6/16/2023 **Status:** ✅ Merged **Merged:** 6/17/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/peer-conn-status-use-oldstate` --- ### 📝 Commits (2) - [`a5424df`](https://github.com/netbirdio/netbird/commit/a5424df2e4f77051dccabcd8aa781cf35866aa18) Fix: Skip state notification should use a copy of the previous peer state - [`d7beec8`](https://github.com/netbirdio/netbird/commit/d7beec8972e0dcaebdf43cbd5c4699b6205b658b) use a bool var instead ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/peer/status.go` (+3 -1) </details> ### 📄 Description ## Describe your changes This was affecting the behavior of the route manager, causing issues with HA and with cases of flaky connections. ## Issue ticket number and link ### Checklist - [x] 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:07:41 -04:00
saavagebueno changed title from [PR #960] Fix: Skip state notification should use a copy of the previous peer state to [PR #960] [MERGED] Fix: Skip state notification should use a copy of the previous peer state 2026-08-05 03:08:18 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#13187