Changes between Initial Version and Version 1 of Ticket #7342


Ignore:
Timestamp:
03/07/2019 11:00:09 PM (17 months ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7342

    • Property Priority changed from Unknown to P2
    • Property Ready set
  • Ticket #7342 – Description

    initial v1  
    11=== Background === 
    2 With [ticket:6621] we started using `indexedDB` directly and added support for migrating the user data from `localforage` (used in 0.9.11). 
    3 With [ticket:6775] we added data backup to deal with data loss, but also increased the complexity of the code. 
    4 [[BR]] 
     2With [ticket:6621] we started using `IndexedDB` directly and added a migration path from `localforage` (used in 0.9.11 and before). With [ticket:6775] we implemented a backup strategy in order to deal with the volatile properties of IndexedDB, which added further complexity to the migration path. 
    53 
    6 Version 0.9.14 is coming up and considering that we still have reports of the data corruption page showing, it would be a good time to drop the migration code and simplify the logic, as probably most users have already migrated. 
     4By the time 0.9.15 will be releases we assume that the vast majority of users are no longer on a version that uses localForage (i.e. <=0.9.11), so that we can simplify the code path by removing the migration logic, which in turn might also make data storage more reliable as some users are still reporting data corruptions. 
    75 
    86=== What to change === 
    9 Remove the code handling the migration from `ioIndexedDB`. 
     7Remove the code handling the migration from `localForage` in `ioIndexedDB`.