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