Closed
Bug 503964
Opened 15 years ago
Closed 15 years ago
Have per-engine versioning to avoid wiping all engine data
Categories
(Firefox :: Sync, defect, P2)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
1.2
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
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 | ||
Updated•15 years ago
|
Priority: -- → P2
Target Milestone: --- → 1.0
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → edilee
Flags: blocking-weave1.1+
Target Milestone: 1.0 → 1.1
Updated•15 years ago
|
Target Milestone: 1.1 → 1.2
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #434388 -
Flags: review?(mconnor)
Assignee | ||
Comment 2•15 years ago
|
||
Fixed a typo
Attachment #434388 -
Attachment is obsolete: true
Attachment #434391 -
Flags: review?(mconnor)
Attachment #434388 -
Flags: review?(mconnor)
Updated•15 years ago
|
Attachment #434391 -
Flags: review?(mconnor) → review+
Updated•15 years ago
|
Whiteboard: [has patch][has review]
Assignee | ||
Comment 3•15 years ago
|
||
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: 15 years ago
Resolution: --- → FIXED
Whiteboard: [has patch][has review]
Assignee | ||
Updated•15 years ago
|
Updated•6 years ago
|
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.
Description
•