Closed
Bug 600427
Opened 15 years ago
Closed 12 years ago
change passphrase causes far too many deletes
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
People
(Reporter: mconnor, Unassigned)
Details
(Whiteboard: [needs verification])
First, we should just delete user/storage, not delete by collection. Need to set the header, but this will be dramatically faster and simpler.
Second, we should create meta/global before we call sync, so we don't try to call _freshStart and wipe the server again.
Third, we should reset lastSync for each engine, and only wipe the server again if lastSync is a different value.
| Reporter | ||
Comment 1•15 years ago
|
||
Fourth, the GET after the DELETE in _syncStartup is generally quite silly.
Updated•14 years ago
|
Whiteboard: [nee
Comment 2•14 years ago
|
||
A lot of this changed at the end of last year. Needs verification to see what the current behavior is.
I believe there's a reason we continued to delete collections individually... Philipp, do you remember?
OS: Windows Vista → All
Hardware: x86 → All
Whiteboard: [nee → [needs verification]
Target Milestone: 1.6 → ---
| Reporter | ||
Comment 3•14 years ago
|
||
The only reason I can think of is that we wanted to preserve the pub/priv keypair for migration of passphrases. I think we can/should do this on an explicit key change.
Comment 4•14 years ago
|
||
(In reply to comment #3)
> The only reason I can think of is that we wanted to preserve the pub/priv
> keypair for migration of passphrases.
Ah yes. Not quite for migration: it was to allow old clients (who check keys before storage version!) to detect that they're outdated rather than erroring.
> I think we can/should do this on an
> explicit key change.
You're implying that once a user generates a new sync key, we should no longer allow older versions of Sync to detect that they're outdated, and will instead raise some other error about failing to fetch keys. (That's the consequence of deleting the whole storage collection.)
We still have about 30,000 active daily users who are using versions prior to 1.6. These users won't get the "please update your client" message on their second and subsequent clients once they begin the long journey towards modernity.
Your call on whether to break them...
Comment 5•12 years ago
|
||
We switched the one-delete-per-collection to DELETE storage in Bug 684798.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•7 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
•