[PR #2242] [MERGED] make configurable wal auto checkpoint #2566

Closed
opened 2025-12-29 03:21:50 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2242
Author: @kradalby
Created: 11/17/2024
Status: Merged
Merged: 11/23/2024
Merged by: @kradalby

Base: mainHead: kradalby/sqlite-wal-vacuum


📝 Commits (1)

  • 84c1243 make configurable wal auto checkpoint

📊 Changes

3 files changed (+14 additions, -6 deletions)

View changed files

📝 config-example.yaml (+5 -0)
📝 hscontrol/db/db.go (+3 -3)
📝 hscontrol/types/config.go (+6 -3)

📄 Description

SQLite WAL addition disabled auto checkpoint, this makes the WAL grow forever, not sure why I did that.

Make it configurable, set it to SQLite default.

Fixes #2204


🔄 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/juanfont/headscale/pull/2242 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 11/17/2024 **Status:** ✅ Merged **Merged:** 11/23/2024 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/sqlite-wal-vacuum` --- ### 📝 Commits (1) - [`84c1243`](https://github.com/juanfont/headscale/commit/84c1243bc671530da124f58f3e32d21f6b5be819) make configurable wal auto checkpoint ### 📊 Changes **3 files changed** (+14 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `config-example.yaml` (+5 -0) 📝 `hscontrol/db/db.go` (+3 -3) 📝 `hscontrol/types/config.go` (+6 -3) </details> ### 📄 Description SQLite WAL addition disabled auto checkpoint, this makes the WAL grow forever, not sure why I did that. Make it configurable, set it to SQLite default. Fixes #2204 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:21:50 +01:00
adam closed this issue 2025-12-29 03:21:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2566