-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(record-store): ensure record sync before marking as stored
Added proper file sync after writing record to disk. Fixed race condition in can_store_after_restart test. Improved error handling for write/sync operations. This change ensures that records are properly synced to disk before being marked as stored, preventing potential data loss in case of system crashes or unexpected restarts.
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters