Changes between Initial Version and Version 1 of Ticket #1582


Ignore:
Timestamp:
11/18/2014 02:42:43 PM (5 years ago)
Author:
trev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1582 – Description

    initial v1  
    11=== Background === 
    2 Currently, `DefaultFileSystem::Write()` use the trivial approach to write files. There are no guarantees that the file will be written completely, so if the program crashes while writing the file will be corrupted. Also, a hard reboot while the file is still in disk cache can lead to data corruption. 
     2Currently, `DefaultFileSystem::Write()` uses the trivial approach to write files. There are no guarantees that the file will be written completely, so if the program crashes while writing the file will be corrupted. Also, a hard reboot while the file is still in disk cache can lead to data corruption. 
    33 
    44=== What to change === 
     
    1010* Close temporary file. 
    1111* Rename temporary file to have its final file name (replace existing file if necessary). 
    12 * If any of these steps causes an error - remove temporary file. 
     12* If any one of these steps causes an error - remove temporary file.