Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#101 Create temporary chunks when writing

open
nobody
Storage (27)
5
2008-08-10
2008-08-10
J. Scott Edwards
No

Change so that when writing data, instead of modifying an existing chunk, write into a new chunk and then if the program aborts for any reason before it is finished it will be the way it was before.

Discussion

  • Logged In: YES
    user_id=113600
    Originator: YES

    Here's another idea: keep two copies of the chunk_info_table and use it to restore back to the previous copies of the chunks even after the program has finished?

     
  • This also solves the backup problem because we don't have to sort the diff file, just diff the old chunks with the new chunks to create the .dif file.