Closed Bug 503964 Opened 13 years ago Closed 12 years ago
Have per-engine versioning to avoid wiping all engine data
Right now we have a single "data version" that we need to bump if formats for any engine record changes. We can put in a version field in the base engine class that detects when there's conflicts and wipe data first. Alternatively, we store an array of versions in the meta/global as we're fetching that anyway.
Assignee: nobody → edilee
Target Milestone: 1.0 → 1.1
Fixed a typo
Attachment #434391 - Flags: review?(mconnor) → review+
http://hg.mozilla.org/labs/weave/rev/7b28228b1692 Add an engines object to meta/global to track version and syncID for each engine. If the server is outdated, wipe the data and set a new version and syncID. If the client is oudated, ask for an upgrade. Differing syncIDs cause a reupload. All engines are right now the default version 1.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [has patch][has review]
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.