[PR #2261] [MERGED] Fix parameter limit issue for Postgres store #14882

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

📋 Pull Request Information

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

Base: mainHead: fix/postgres-parameter-limit


📝 Commits (3)

  • 0b1b7c1 Fix parameter limit issue for Postgres store
  • fb4431f skip large test on non linux in ci/cd
  • 153481e force skip windows as CI env is not available

📊 Changes

2 files changed (+26 additions, -14 deletions)

View changed files

📝 management/server/sql_store.go (+10 -9)
📝 management/server/sql_store_test.go (+16 -5)

📄 Description

Describe your changes

Added CreateBatchSize for both sql stores and updated tests to test large accounts with Postgres too. Increased the account peer size to 6K.

fixes #2151

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/2261 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 7/11/2024 **Status:** ✅ Merged **Merged:** 7/12/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/postgres-parameter-limit` --- ### 📝 Commits (3) - [`0b1b7c1`](https://github.com/netbirdio/netbird/commit/0b1b7c1925cabc5fc1b8fd017ff9b93069c030b7) Fix parameter limit issue for Postgres store - [`fb4431f`](https://github.com/netbirdio/netbird/commit/fb4431fc24269d3bbac58486cb3cf65c14d3861a) skip large test on non linux in ci/cd - [`153481e`](https://github.com/netbirdio/netbird/commit/153481ebcd6d13170e61710397805f2093969d5f) force skip windows as CI env is not available ### 📊 Changes **2 files changed** (+26 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `management/server/sql_store.go` (+10 -9) 📝 `management/server/sql_store_test.go` (+16 -5) </details> ### 📄 Description ## Describe your changes Added CreateBatchSize for both sql stores and updated tests to test large accounts with Postgres too. Increased the account peer size to 6K. ## Issue ticket number and link fixes #2151 ### 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 03:06:31 -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#14882