gecko-dev/services
Lina Cambridge 65dfa84ccd Bug 1573305 - Remove the check for unmerged synced bookmark changes. r=markh
When a local or remote item changed, we'd potentially scan three tables
(with an expensive `LEFT JOIN`!) to check if anything changed...then
scan the same tables again to build the local and remote trees. This
check was originally meant to avoid unnecessary merges. However, the
bottleneck isn't merging now; it's reading from the database.

Since the merger has been rewritten in Rust, is synchronous, doesn't
keep a transaction open for the entire merge (see the
`total_sync_changes` check), and only emits ops for items that actually
changed, it's more efficient to build and merge optimistically, and
bail before applying if nothing changed.

This commit also moves `validateLocalRoots` into Rust.

Differential Revision: https://phabricator.services.mozilla.com/D41690

--HG--
extra : moz-landing-system : lando
2019-08-13 22:58:16 +00:00
..
common Bug 1572615 - Abort bookmark merges that take longer than 5 minutes. r=markh 2019-08-13 18:48:25 +00:00
crypto Bug 1561435 - Format services/, a=automatic-formatting 2019-07-05 10:58:22 +02:00
fxaccounts Bug 1571567 - Fix no-fallthrough errors in /services. r=markh 2019-08-08 15:18:36 +00:00
settings No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-08-12 13:08:23 +00:00
sync Bug 1573305 - Remove the check for unmerged synced bookmark changes. r=markh 2019-08-13 22:58:16 +00:00
moz.build Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs 2018-05-10 15:27:21 +02:00