[PR #609] [CLOSED] Event storage #12794

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/609
Author: @braginini
Created: 12/5/2022
Status: Closed

Base: mainHead: feature/event-storage


📝 Commits (10+)

  • 0f68edb Initial event store draft
  • a387e3c Add network routes distribution groups (#606)
  • 16e4d10 Rename audit to event
  • d43f020 Handle peer deletion and state update (#611)
  • 65afc9a Add basic Save and Get operations to the event store
  • 1c1e639 Add basic Save and Get operations to the event store
  • d98a8e0 Fix lint issue
  • ef97e08 Fix SQLiteStore test
  • 0f4d132 Fetch events with offset limit
  • 0e3bbf0 Fetch events with offset limit

📊 Changes

65 files changed (+1801 additions, -381 deletions)

View changed files

📝 .github/workflows/golang-test-linux.yml (+3 -3)
📝 .github/workflows/golangci-lint.yml (+1 -1)
📝 .github/workflows/release.yml (+1 -1)
📝 .github/workflows/test-docker-compose-linux.yml (+7 -3)
📝 .goreleaser.yaml (+0 -13)
📝 client/cmd/testutil.go (+7 -1)
📝 client/internal/connect.go (+3 -0)
📝 client/internal/dns/network_manager_linux.go (+4 -1)
📝 client/internal/dns/server.go (+30 -13)
📝 client/internal/dns/server_test.go (+42 -7)
📝 client/internal/dns/systemd_linux.go (+7 -3)
📝 client/internal/engine_test.go (+7 -1)
📝 client/internal/routemanager/client.go (+2 -5)
📝 client/internal/routemanager/manager.go (+14 -6)
📝 client/internal/routemanager/manager_test.go (+53 -3)
📝 client/server/server.go (+6 -4)
📝 go.mod (+2 -0)
📝 go.sum (+4 -0)
📝 infrastructure_files/base.setup.env (+3 -1)
📝 infrastructure_files/configure.sh (+1 -0)

...and 45 more files

📄 Description

Describe your changes

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • 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/609 **Author:** [@braginini](https://github.com/braginini) **Created:** 12/5/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/event-storage` --- ### 📝 Commits (10+) - [`0f68edb`](https://github.com/netbirdio/netbird/commit/0f68edbefb8dca10c37eed5fccae0d74627c8ec6) Initial event store draft - [`a387e3c`](https://github.com/netbirdio/netbird/commit/a387e3cfc2af378c4cb87e56f4a02238f0e1e4de) Add network routes distribution groups (#606) - [`16e4d10`](https://github.com/netbirdio/netbird/commit/16e4d109ff7a92ca630cf91cdfb43a4974a17528) Rename audit to event - [`d43f020`](https://github.com/netbirdio/netbird/commit/d43f0200a6805d57dcef2f3ab3595a729f01008e) Handle peer deletion and state update (#611) - [`65afc9a`](https://github.com/netbirdio/netbird/commit/65afc9a884fa526f8dc5a5bb3a426e7dca54f4af) Add basic Save and Get operations to the event store - [`1c1e639`](https://github.com/netbirdio/netbird/commit/1c1e639445ed05c607b436158dc1b14252d3fd39) Add basic Save and Get operations to the event store - [`d98a8e0`](https://github.com/netbirdio/netbird/commit/d98a8e0645b0b6a3ae3804fe56cb4d16e01cd2f8) Fix lint issue - [`ef97e08`](https://github.com/netbirdio/netbird/commit/ef97e0840c5f6bd2c07c42212e659637aa481148) Fix SQLiteStore test - [`0f4d132`](https://github.com/netbirdio/netbird/commit/0f4d132b935c0d2b837aa74229f607ac96d5c0ab) Fetch events with offset limit - [`0e3bbf0`](https://github.com/netbirdio/netbird/commit/0e3bbf0e557513521704670401ab5ad7cbf9dbf9) Fetch events with offset limit ### 📊 Changes **65 files changed** (+1801 additions, -381 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/golang-test-linux.yml` (+3 -3) 📝 `.github/workflows/golangci-lint.yml` (+1 -1) 📝 `.github/workflows/release.yml` (+1 -1) 📝 `.github/workflows/test-docker-compose-linux.yml` (+7 -3) 📝 `.goreleaser.yaml` (+0 -13) 📝 `client/cmd/testutil.go` (+7 -1) 📝 `client/internal/connect.go` (+3 -0) 📝 `client/internal/dns/network_manager_linux.go` (+4 -1) 📝 `client/internal/dns/server.go` (+30 -13) 📝 `client/internal/dns/server_test.go` (+42 -7) 📝 `client/internal/dns/systemd_linux.go` (+7 -3) 📝 `client/internal/engine_test.go` (+7 -1) 📝 `client/internal/routemanager/client.go` (+2 -5) 📝 `client/internal/routemanager/manager.go` (+14 -6) 📝 `client/internal/routemanager/manager_test.go` (+53 -3) 📝 `client/server/server.go` (+6 -4) 📝 `go.mod` (+2 -0) 📝 `go.sum` (+4 -0) 📝 `infrastructure_files/base.setup.env` (+3 -1) 📝 `infrastructure_files/configure.sh` (+1 -0) _...and 45 more files_ </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 - [ ] 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:06:42 -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#12794