zotero/test
Dan Stillman a1ce85decb Overhaul object downloading/processing during data syncs
Previously, objects were first downloaded and saved to the sync cache,
which was then processed separately to create/update local objects. This
meant that a server bug could result in invalid data in the sync cache
that would never be processed. Now, objects are saved as they're
downloaded and only added to the sync cache after being successfully
saved. The keys of objects that fail are added to a queue, and those
objects are refetched and retried on a backoff schedule or when a new
client version is installed (in case of a client bug or a client with
outdated data model support).

An alternative would be to save to the sync cache first and evict
objects that fail and add them to the queue, but that requires more
complicated logic, and it probably makes more sense just to buffer a few
downloads ahead so that processing is never waiting for downloads to
finish.
2016-03-23 04:29:04 -04:00
..
components Merge branch '4.0' into sjk/659 2015-06-01 00:03:20 -04:00
content Merge pull request #902 from adomasven/feature/feed-reader-UI 2016-03-22 07:31:03 -04:00
resource Update test submodules (accidentally downgraded in daf4a8fe4) 2016-03-17 16:28:02 -04:00
tests Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
chrome.manifest Unit testing infrastructure 2015-03-07 16:34:55 -05:00
install.rdf Update maxVersion 2015-10-29 03:57:08 -04:00
runtests.sh Add -h flag to test runner to display help cleanly 2016-02-22 16:00:37 -05:00