project Utilities / File Location Listing avatar

utilities/file_location_listing#15: Make index rebuilds atomic

Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.1
Created: 29-Dec-23 15:12


Currently, when we rebuild the index we rewrite it in place - so there's a period of time (however short) where the index file is available for use, but incomplete.

That's (sort of) OK when there are only occasional runs. However, with utilities/file_location_listing#14 being implemented, we're going to need operations to be much more atomic.

Toggle State Changes


assigned to @btasker


mentioned in commit 913aea15ebbc79392b1c392016499aa563623ab6

Commit: 913aea15ebbc79392b1c392016499aa563623ab6 
Author: B Tasker                            
Date: 2023-12-29T15:18:09.000+00:00 


fix: make file write operations atomic (utilities/file_location_listing#15)

+12 -3 (15 lines changed)