3c89bba23c2d344c514b2d59ca52c377d55c541f: Bug 1291821 - Track incomplete stages and re-sync them r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Fri, 24 Feb 2017 13:04:54 -0800 - rev 489711
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Track incomplete stages and re-sync them r=rnewman Stage re-sync is requested if: - We hit a 412 either during batching download or batching upload - We hit a sync deadline either during batching download or when merging records from the buffer SessionStoreDelegate interface was expanded with onStoreFailed, indicating that not just a particular record failed, but the whole operation did. onFetchFailed is used to inform delegates of 412/deadline failures during downloads. Three new exception types were added, to facilitated messaging between different layers. MozReview-Commit-ID: Ltdi5noEvdV
28164480660dba21fba8e217c74a32b53edf8246: Bug 1291821 - Move bulk insert logic for new history to BrowserProvider r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Tue, 29 Nov 2016 13:42:53 -0800 - rev 489710
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Move bulk insert logic for new history to BrowserProvider r=rnewman This commit does two things: 1) It simplifies history insertion logic, which wrongly assumed that history which was being inserted might be not new. As such, it was necessary to check for collisions of visit inserts, record number of visits actually inserted, and update remote visit counts correspondingly in a separate step, making history insert a three step operation (insert history record, insert its visits, update history record with a count). However, bulkInsert runs only for records which were determined to be entirely new, so it's possible to drop the third step. 2) Makes all of the insertions (history records and their visits) run in one transaction. Prepared statements for both history and visit inserts are used are used as a performance optimization measure. MozReview-Commit-ID: 48T4G5IsQNS
c1069ad96647a8d0117ec976d70c6bf3523c48aa: Bug 1291821 - Rename repositories/sessions r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Fri, 24 Feb 2017 13:04:15 -0800 - rev 489709
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Rename repositories/sessions r=rnewman We're at Sync 1.5 now, so might as well rename the files. Also, renamed the ConstrainedRepository... to a name that's more reflective of that session's role after the changes. MozReview-Commit-ID: 96XCzoBzD5D
09ae692fe42cb59e7c62276d681666f733c96846: Bug 1291821 - Get tests to work after sync changes r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Tue, 11 Oct 2016 20:02:02 -0700 - rev 489708
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Get tests to work after sync changes r=rnewman MozReview-Commit-ID: 3djnmEmzndU
c027b2bb07344e664ba8c9f77e11740a246bebe6: Bug 1291821 - Ensure sink repository is aware of new events coming from the source r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Tue, 11 Oct 2016 20:00:09 -0700 - rev 489707
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Ensure sink repository is aware of new events coming from the source r=rnewman MozReview-Commit-ID: DgqGzfoJxhj
7e35c924287af2aa4408252d7c83e2e1e431b12f: Bug 1291821 - Split history stage into recent and full history stages r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Wed, 16 Nov 2016 14:53:07 -0800 - rev 489706
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Split history stage into recent and full history stages r=rnewman Recent history stage will only run if full history stage did not complete yet. Bug 1316110 tracks follow up work to make this more efficient. MozReview-Commit-ID: 7dtbfEFUMGB
d61efb5192df344972d4c5c0f21d4d1c04459441: Bug 1291821 - Wrap local repositories in buffering middleware r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Thu, 20 Oct 2016 16:31:31 -0700 - rev 489705
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Wrap local repositories in buffering middleware r=rnewman History stage does not wrap history respository in a buffer, because we'd like to use a high-water-mark and offset resuming later on, and using a persistent buffer for this stage does not make sense. MozReview-Commit-ID: FS1swml2bIC
3a43ecf3c62573024cd9b9d45d2edfc9c9e8d319: Bug 1291821 - Use sync deadline to decide of batching downloader should proceed r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Tue, 01 Nov 2016 18:52:18 -0700 - rev 489704
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Use sync deadline to decide of batching downloader should proceed r=rnewman MozReview-Commit-ID: IDgIj9lBt61
50608e0550054650b192bc451c3aeab6e6a0d5e6: Bug 1291821 - Keep track of sync deadline r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Tue, 08 Nov 2016 12:38:00 -0800 - rev 489703
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Keep track of sync deadline r=rnewman MozReview-Commit-ID: Fvuc05K1arV
63957df45bace6be17728d614625e6b358c0cc08: Bug 1291821 - Remove total sync limits, refactor batching downloader r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Thu, 20 Oct 2016 13:34:06 -0700 - rev 489702
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Remove total sync limits, refactor batching downloader r=rnewman MozReview-Commit-ID: 2SYxemfTv9V
4ecaf3862bc7d0feb4281ae5ec24b8495446f0c7: Bug 1291821 - Decouple BatchingUploader from Server11Repository r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Tue, 01 Nov 2016 18:55:15 -0700 - rev 489701
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Decouple BatchingUploader from Server11Repository r=rnewman MozReview-Commit-ID: 7mPy1cmr3vq
75035bf6dd1e705a75b8360677b26419e2b5b245: Bug 1291821 - Simplify onFetchFailed, clean up some exception code r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Tue, 11 Oct 2016 19:29:46 -0700 - rev 489700
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Simplify onFetchFailed, clean up some exception code r=rnewman MozReview-Commit-ID: 11sIAPCfLWk
3d8a46a90f237c445a7ea1e6797c909fac112604: Bug 1291821 - Add onBatchComplete to a FetchRecordsDelegate r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Tue, 11 Oct 2016 19:29:02 -0700 - rev 489699
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Add onBatchComplete to a FetchRecordsDelegate r=rnewman Intended to signal that a group of records have been fetched, and more are to come after a pause. MozReview-Commit-ID: 8ozZTc6aNdA
07c5a4e937382e86f6baf393626f9c3dd060010a: Bug 1291821 - Rename RepositorySession's delegate to storeDelegate, for clarity r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Sat, 08 Oct 2016 17:03:38 -0700 - rev 489698
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Rename RepositorySession's delegate to storeDelegate, for clarity r=rnewman Otherwise we often end up with delegate meaning both fetch delegate and store delegate in extending classes, which gets a little confusing. MozReview-Commit-ID: L4Sd79jLr88
e41e4bbf72ab1283f7ab13d0d8e1b20b7dadcbe5: Bug 1291821 - Switch stage duration interval counting to use elapsedRealtime r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Sat, 08 Oct 2016 15:28:14 -0700 - rev 489697
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Switch stage duration interval counting to use elapsedRealtime r=rnewman It is a better fit for interval counting. MozReview-Commit-ID: LCF0U24MAwF
86bc523c8c6024f4f8737813498e994c53625a87: Bug 1291821 - Buffering repository middleware r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Thu, 19 Jan 2017 13:11:41 -0800 - rev 489696
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Buffering repository middleware r=rnewman MozReview-Commit-ID: GS3M7k670Po
ff7ff02d0edfcf053d1dd0b9a7a2c983aec311ef: Bug 1291821 - Add storeIncomplete to RepositorySession interface r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Wed, 02 Nov 2016 16:40:15 -0700 - rev 489695
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Add storeIncomplete to RepositorySession interface r=rnewman MozReview-Commit-ID: 68ty7KlP5NR
f3e6086e7297f451161e1e90954819574d7357ef: Bug 1291821 - Pre: remove unused SerialRecordConsumer r=rnewman
Grisha Kruglov <gkruglov@mozilla.com> - Sat, 08 Oct 2016 14:49:46 -0700 - rev 489694
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1291821 - Pre: remove unused SerialRecordConsumer r=rnewman MozReview-Commit-ID: 3fiHVErUA1g
23bd8be8d881ace9c65cda3ebd166e8b00b67f93: Merge m-c to autoland a=merge
Wes Kocher <wkocher@mozilla.com> - Fri, 24 Feb 2017 16:59:05 -0800 - rev 489693
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Merge m-c to autoland a=merge MozReview-Commit-ID: DAlTWWRlpmp
84c8d6936cad6e4575f9b352f12ce25e70e4cf53: Bug 1342596 - Fix test expectations for min/max-width/height; r=bholley
Manish Goregaokar <manishearth@gmail.com> - Fri, 24 Feb 2017 16:51:51 -0800 - rev 489692
Push 46884 by mozilla@buttercookie.de at Sat, 25 Feb 2017 18:56:58 +0000
Bug 1342596 - Fix test expectations for min/max-width/height; r=bholley MozReview-Commit-ID: 7QjxPEVvpqS
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip