[PR #1874] [MERGED] Use a better way to insert data in batches #14374

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1874
Author: @braginini
Created: 4/20/2024
Status: Merged
Merged: 4/20/2024
Merged by: @braginini

Base: mainHead: sqlite_batch_insert


📝 Commits (1)

  • 0fa6d30 Use a better way to insert data in batches

📊 Changes

2 files changed (+153 additions, -3 deletions)

View changed files

📝 management/server/sqlite_store.go (+5 -3)
📝 management/server/sqlite_store_test.go (+148 -0)

📄 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/1874 **Author:** [@braginini](https://github.com/braginini) **Created:** 4/20/2024 **Status:** ✅ Merged **Merged:** 4/20/2024 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `sqlite_batch_insert` --- ### 📝 Commits (1) - [`0fa6d30`](https://github.com/netbirdio/netbird/commit/0fa6d30d40226936680e526f3ef8be9ed448dd2d) Use a better way to insert data in batches ### 📊 Changes **2 files changed** (+153 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `management/server/sqlite_store.go` (+5 -3) 📝 `management/server/sqlite_store_test.go` (+148 -0) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] 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:09:52 -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#14374