Closed Bug 712023 Opened 13 years ago Closed 12 years ago

Sync is performed after browser restart in less than 24h for single device accounts

Categories

(Firefox :: Sync, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED WONTFIX

People

(Reporter: mihaelav, Unassigned)

References

Details

Attachments

(2 files)

Mozilla/5.0 (Windows NT 6.1; rv:10.0a2) Gecko/20111215 Firefox/10.0a2
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0a2) Gecko/20111219 Firefox/10.0a2

For single device accounts, sync is performed after less than 24 hours ib browser is restarted.

Preconditions:
1. Sync is configured and only 1 device is attached at the current account
2. Previous sync was successful (Next sync in 86400000 ms - 24h)

Steps to reproduce:
1. Close browser
2. Change PC time to less than 24 hours since previous successful sync (I used more 1 hour)
3. Restart browser

Actual result:
Sync is performed in the next minute after restart.

Expected result:
Sync should not be performed untill 24 hours since previous successful sync.
Please *always* attach logs. You'll need to turn logOnSuccess to true and set the "service.main" logger to Trace (and restart the browser for it to take effect) to produce meaningful logs.
Mihaela: could you clarify step two?

That is, if you synced at 10am on the 15th, to what time do you change the PC time?

What different time values cause a sync to occur or not to occur?
Attached file computer logs
Clarified steps:
1. Set up sync at 8:56 am (only 1 device per account)
2. Close browser
3. Change PC time to 9:57 am (same day)
4. Start browser => sync is fired
5. Close browser
6. Change PC time to 11:00 am (same day)
7. Start browser => sync is fired
(In reply to Mihaela Velimiroviciu [QA] from comment #3)

> > What different time values cause a sync to occur or not to occur?
Attached file sync logs
Mozilla/5.0 (Windows NT 6.1; rv:11.0a2) Gecko/20120126 Firefox/11.0a2

It looks like sync is triggered after browser restart, no matter the amount of time
I don't really regard this as a bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
We had logic to make this work differently, but honestly it doesn't matter all that much, info/collections is basically free.
Status: RESOLVED → VERIFIED
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

Created:
Updated:
Size: