Closed Bug 936373 Opened 11 years ago Closed 11 years ago

Optimize FB datastore index refresh by tracking revisionId number

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.3 Sprint 5 - 11/22

People

(Reporter: jmcf, Assigned: jmcf)

References

Details

Attachments

(1 file)

Currently when a record is not found on the FB datastore we try to refresh the idnex just in case another app modified the DS. This can be more efficient if we track datastore revisionId and we only refresh the index when we know there has been a change i.e. revisionId is different.
Attached file 13554.html
Attachment #829889 - Flags: review?(crdlc)
Comment on attachment 829889 [details]
13554.html

Just a comment, thanks Jose
Attachment #829889 - Flags: review?(crdlc) → review+
https://github.com/mozilla-b2g/gaia/commit/a26a670b9bb1dc281a8f6a144f580dba9e831e04
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Depends on: 937361
This needs to be backed out - this broke a smoketest with using facebook import for the contacts app.

John - Can you back this out?
Flags: needinfo?(jhford)
:jsmith

what smoke test is breaking this patch? Are you sure that this patch is responsible for?

Please DO NOT back out anything without counting on the dev team.

thanks
Flags: needinfo?(jhford)
No longer depends on: 937361
As I reported on bug 937361 comment #6 this HAS NOT TO BE BACKOUT as it has not caused recent regressions on Facebook integration. thanks
already in master. clear flag
blocking-b2g: 1.3? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: