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)

All
iOS
defect
Not set
normal

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.
Nah, we do good things here -- did you see that commit I pushed at you?
Yes. But even so, in HasMetaGlobal, we always fetch, right?
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Hey hey, you already did most of this :0
Attachment #8595031 - Flags: review?(rnewman)
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-
Assignee: nalexander → rnewman
OS: iOS 8 → iOS
Summary: Use cached collection keys → Use cached collection keys in the routine case
Attached file Pull req.
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)
Whiteboard: [has pr]
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 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+
78a5f73
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [has pr]
Attachment #8646563 - Flags: review?(sleroux)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: