[PR #3906] [CLOSED] Remove connecting status filter from route manager #24054

Open
opened 2026-08-05 06:08:11 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3906
Author: @pappz
Created: 6/1/2025
Status: Closed

Base: mainHead: fix/connecting-route-filter


📝 Commits (1)

  • 7573dfb Before lazy connection, when the peer disconnected, the status switched to disconnected.

📊 Changes

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

View changed files

📝 client/internal/routemanager/client.go (+1 -1)

📄 Description

Before lazy connection, when the peer disconnected, the status switched to disconnected.

After implementing lazy connection, the peer state is connecting, so we did not decrease the reference counters on the routes.

Describe your changes

Stack

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

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.


🔄 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/3906 **Author:** [@pappz](https://github.com/pappz) **Created:** 6/1/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/connecting-route-filter` --- ### 📝 Commits (1) - [`7573dfb`](https://github.com/netbirdio/netbird/commit/7573dfb35409f70af159c76a65c75fbc3796a3b7) Before lazy connection, when the peer disconnected, the status switched to disconnected. ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/routemanager/client.go` (+1 -1) </details> ### 📄 Description Before lazy connection, when the peer disconnected, the status switched to disconnected. After implementing lazy connection, the peer state is connecting, so we did not decrease the reference counters on the routes. ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-stack --> ### 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 > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). --- <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 06:08:11 -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#24054