[PR #2882] [MERGED] [client] Improve state write timeout and abort work early on timeout #18556

Closed
opened 2026-08-05 04:08:39 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2882
Author: @lixmal
Created: 11/13/2024
Status: Merged
Merged: 11/13/2024
Merged by: @lixmal

Base: mainHead: improve-state


📝 Commits (2)

  • b67d457 Improve state write timeout and abort work early on timeout
  • 671e044 Don't block on initial persist state

📊 Changes

9 files changed (+53 additions, -53 deletions)

View changed files

📝 client/firewall/iptables/manager_linux.go (+5 -3)
📝 client/firewall/nftables/manager_linux.go (+5 -3)
📝 client/internal/config.go (+3 -3)
📝 client/internal/dns/server.go (+7 -3)
📝 client/internal/statemanager/manager.go (+5 -15)
📝 client/internal/statemanager/path.go (+5 -17)
📝 management/server/file_store.go (+1 -1)
📝 util/file.go (+18 -5)
📝 util/file_test.go (+4 -3)

📄 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/2882 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 11/13/2024 **Status:** ✅ Merged **Merged:** 11/13/2024 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `improve-state` --- ### 📝 Commits (2) - [`b67d457`](https://github.com/netbirdio/netbird/commit/b67d457bc625c4888b544b64e036bd296eb58c22) Improve state write timeout and abort work early on timeout - [`671e044`](https://github.com/netbirdio/netbird/commit/671e044a50921d094c7c920b1502c6aec0872296) Don't block on initial persist state ### 📊 Changes **9 files changed** (+53 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `client/firewall/iptables/manager_linux.go` (+5 -3) 📝 `client/firewall/nftables/manager_linux.go` (+5 -3) 📝 `client/internal/config.go` (+3 -3) 📝 `client/internal/dns/server.go` (+7 -3) 📝 `client/internal/statemanager/manager.go` (+5 -15) 📝 `client/internal/statemanager/path.go` (+5 -17) 📝 `management/server/file_store.go` (+1 -1) 📝 `util/file.go` (+18 -5) 📝 `util/file_test.go` (+4 -3) </details> ### 📄 Description ## Describe your changes ## 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 04:08:39 -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#18556