Q&A
Q&AWhat does atomic file replacement leave unchanged for existing readers?
An already open descriptor still refers to the old file object.
Read the concise answer
Write a complete temporary file on the same filesystem and replace the pathname. New opens see the replacement; existing descriptors keep the old object. Durability and concurrent-writer coordination are separate guarantees.