Closed Bug 507429 Opened 15 years ago Closed 15 years ago

Partial sync download support

Categories

(Firefox :: Sync, defect, P1)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: hello, Assigned: Mardak)

References

()

Details

Attachments

(1 file)

We should have the ability to download/upload data in chunks, instead of all at once.
Summary: Incremental sync support → Partial sync support
Target Milestone: --- → 0.6
Assignee: nobody → edilee
Priority: -- → P1
Summary: Partial sync support → Partial sync download support
Target Milestone: 0.6 → 0.7
Priority: P1 → P2
Priority: P2 → P1
Depends on: 506820
Depends on: 515676
Depends on: 515678
http://hg.mozilla.org/users/edward.lee_engineering.uiuc.edu/weave-partial-view/rev/8d2a0e5f8af5
Only fetch a limited number of items on first/update syncs and if we get the same number, ask the server for the ids to fetch later. Also on every download, process some of the backlog and save the list of GUIDs to disk as json for cross-session support.
Attached patch super diffSplinter Review
This looks good so far.  I think you should land and open bugs for followup items, including:

* bubbling up statistics to the service, so we can better inform the user.
* making some of the constants more configurable, possibly per-engine: how many items to sync each time (300+150 atm), whether to eventually sync all items, etc.

we already have a standing bug for sync tests, so no need for an extra bug for that.
http://hg.mozilla.org/labs/weave/pushloghtml?changeset=ef5a74f7acdb
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Blocks: 517598
Blocks: 522077
Blocks: 522084
flagging in-testsuite? for unit test?
Flags: in-testsuite?
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.

Attachment

General

Creator:
Created:
Updated:
Size: