Open Bug 1598187 Opened 6 years ago Updated 3 years ago

Track history sync changes in Places

Categories

(Firefox :: Sync, task, P3)

task

Tracking

()

People

(Reporter: lina, Unassigned)

References

Details

Bookmarks have a syncChangeCounter column that's incremented whenever a page is bookmarked. Let's consider doing the same for URLs in moz_places, specifically when a page is visited. We'll also want to write tombstones for deleted pages.

We don't need to bump the counter when individual visits are removed (without removing the page), since Sync has no way to represent excisions.

This will bring Desktop more in line with Rust Places, which already has a change counter for history. This will also reduce the number of writes we do—right now, tracking visits in a JSON file means we remove and overwrite the file on every page visit for users with Sync enabled! 😳

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.