[go: up one dir, main page]

Menu

#160 DataManager.save() should delete autosave file

closed-fixed
None
7
2009-06-18
2009-06-18
No

When the in-memory xml instance is flushed to the disc (DataManager.save()) the autosave file should be removed from the system. What can happen is this:

+User modifies RT instance
- AutoSaveManager detects modification and creates autosave file
+ User syncs: updates are pushed and pulled down from the database
- After sync the in-memory instance is flushed to the disc (DataManager.save())
+ Computer crashes/reboots/JVM is shutdown unexpectedly
+ User starts up the RT
- RT notices the autosave file and prompts the user
- User selects "Load autosave file"
- Now their instance and the database are out of sync in a bad way

Discussion

  • Bryan Worrell

    Bryan Worrell - 2009-06-18
    • status: open --> closed-fixed
     
  • Bryan Worrell

    Bryan Worrell - 2009-06-18

    fixed in revision 479

     

Log in to post a comment.