[PR #238] Write to temp file before saving data #12355

Open
opened 2026-08-05 02:05:44 -04:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/238

State: closed
Merged: Yes


In the event of a full disk, we may encounter the case where the destination file gets replaced by an empty file as the ioutil.WriteFile truncates the destination before writing.

Closes #237

**Original Pull Request:** https://github.com/netbirdio/netbird/pull/238 **State:** closed **Merged:** Yes --- In the event of a full disk, we may encounter the case where the destination file gets replaced by an empty file as the ioutil.WriteFile truncates the destination before writing. Closes #237
saavagebueno added the pull-request label 2026-08-05 02:05:44 -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#12355