[PR #3028] [MERGED] Create thread safe peer store #16058

Open
opened 2026-08-05 03:08:51 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3028
Author: @pappz
Created: 12/11/2024
Status: Merged
Merged: 12/11/2024
Merged by: @pappz

Base: dns-interceptorHead: dnsinterceptor/peer-store


📝 Commits (4)

📊 Changes

5 files changed (+123 additions, -36 deletions)

View changed files

📝 client/internal/engine.go (+19 -21)
client/internal/peerstore/store.go (+87 -0)
📝 client/internal/routemanager/client.go (+5 -4)
📝 client/internal/routemanager/dnsinterceptor/handler.go (+6 -6)
📝 client/internal/routemanager/manager.go (+6 -5)

📄 Description

Describe your changes

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/3028 **Author:** [@pappz](https://github.com/pappz) **Created:** 12/11/2024 **Status:** ✅ Merged **Merged:** 12/11/2024 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `dns-interceptor` ← **Head:** `dnsinterceptor/peer-store` --- ### 📝 Commits (4) - [`7838864`](https://github.com/netbirdio/netbird/commit/7838864c7f4a241464b244b1f73d5048b36946d3) Create thread safe peer store - [`e5f0728`](https://github.com/netbirdio/netbird/commit/e5f0728e3973f2ada4f6d014f4c4aa6fe38e2c43) Text format - [`76e7b3a`](https://github.com/netbirdio/netbird/commit/76e7b3aee6fbd39277679381c45081d2d8bb9142) Use maps.Keys - [`4304120`](https://github.com/netbirdio/netbird/commit/43041207b565110f0ee2771dcdf0d9c852c37f24) Use allowedIPs instead of allowIP ### 📊 Changes **5 files changed** (+123 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/engine.go` (+19 -21) ➕ `client/internal/peerstore/store.go` (+87 -0) 📝 `client/internal/routemanager/client.go` (+5 -4) 📝 `client/internal/routemanager/dnsinterceptor/handler.go` (+6 -6) 📝 `client/internal/routemanager/manager.go` (+6 -5) </details> ### 📄 Description ## Describe your changes ## 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 --- <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 03:08:51 -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#16058