Closed
Bug 1154139
Opened 10 years ago
Closed 10 years ago
Use cached collection keys in the routine case
Categories
(Firefox for iOS :: Sync, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| fxios | + | --- |
People
(Reporter: rnewman, Assigned: rnewman)
References
Details
Attachments
(1 file, 1 obsolete file)
We cache them, we have the info (same approach as for meta/global), but out of laziness we fetch keys every time.
Comment 1•10 years ago
|
||
Nah, we do good things here -- did you see that commit I pushed at you?
| Assignee | ||
Comment 2•10 years ago
|
||
Yes. But even so, in HasMetaGlobal, we always fetch, right?
Updated•10 years ago
|
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Comment 3•10 years ago
|
||
Hey hey, you already did most of this :0
Attachment #8595031 -
Flags: review?(rnewman)
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8595031 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/360
We talked about this: needs to check for timestamp changes and then key changes, and bail out if the keys changed.
Safe to assume default-only for now.
Attachment #8595031 -
Flags: review?(rnewman) → review-
Updated•10 years ago
|
tracking-fxios:
--- → ?
| Assignee | ||
Updated•10 years ago
|
| Assignee | ||
Comment 5•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Assignee: nalexander → rnewman
OS: iOS 8 → iOS
| Assignee | ||
Updated•10 years ago
|
Summary: Use cached collection keys → Use cached collection keys in the routine case
| Assignee | ||
Comment 6•10 years ago
|
||
I want at least two reviewers for this.
Attachment #8595031 -
Attachment is obsolete: true
Attachment #8646563 -
Flags: review?(sleroux)
Attachment #8646563 -
Flags: review?(sarentz)
Attachment #8646563 -
Flags: review?(nalexander)
| Assignee | ||
Updated•10 years ago
|
Whiteboard: [has pr]
Comment 7•10 years ago
|
||
Comment on attachment 8646563 [details] [review]
Pull req.
It's definitely safe in the success case, which is the only one we really care about just now.
Attachment #8646563 -
Flags: review?(nalexander) → review+
Comment 8•10 years ago
|
||
Comment on attachment 8646563 [details] [review]
Pull req.
This looks good. I don't see anything crazy in this code. But I have to rely on :nalexander for the big sync picture.
Attachment #8646563 -
Flags: review?(sarentz) → review+
| Assignee | ||
Comment 9•10 years ago
|
||
78a5f73
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [has pr]
Updated•10 years ago
|
Attachment #8646563 -
Flags: review?(sleroux)
You need to log in
before you can comment on or make changes to this bug.
Description
•