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.
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.