Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1207468 - Prefix asyncStorage entries with userid in DataAdapters, r=ferjm #32596

Merged

Conversation

michielbdejong
Copy link
Contributor

No description provided.

@mozilla-autolander-deprecated
Copy link
Contributor

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from 5bc4731 to a9ec474 Compare October 20, 2015 16:30
@mozilla-autolander-deprecated
Copy link
Contributor

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from a9ec474 to 5cfda9f Compare October 21, 2015 19:37
@mozilla-autolander-deprecated
Copy link
Contributor

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from 5cfda9f to a67ac55 Compare October 22, 2015 08:23
@mozilla-autolander-deprecated
Copy link
Contributor

@michielbdejong michielbdejong changed the title Bug 1207468 - DataStore Id mapping in localStorage per userId, r=ferjm Bug 1207468 - DataStore Id mapping and mtime per userId in asyncStorage, r=ferjm Oct 22, 2015
@michielbdejong michielbdejong changed the title Bug 1207468 - DataStore Id mapping and mtime per userId in asyncStorage, r=ferjm Bug 1207468 - Prefix asyncStorage entries with userid in DataAdapters, r=ferjm Oct 22, 2015
@michielbdejong
Copy link
Contributor Author

There's a test failing

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from a67ac55 to e891287 Compare October 22, 2015 11:55
@mozilla-autolander-deprecated
Copy link
Contributor

promises.push(this._updateCollection(collectionName,
//TODO: actually use this, see bug 1209934
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That bug is fixed now.

@michielbdejong
Copy link
Contributor Author

@ferjm TreeHerder problem? ^ Is there a way to retrigger the run?

@michielbdejong
Copy link
Contributor Author

The latest test run seems to have failed because of https://bugzilla.mozilla.org/show_bug.cgi?id=1197788.

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from e891287 to f527880 Compare October 23, 2015 10:25
@mozilla-autolander-deprecated
Copy link
Contributor

@michielbdejong
Copy link
Contributor Author

Rebased.

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from f527880 to af005eb Compare October 24, 2015 10:35
@mozilla-autolander-deprecated
Copy link
Contributor

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from af005eb to 4d04937 Compare October 24, 2015 12:51
@mozilla-autolander-deprecated
Copy link
Contributor

@michielbdejong
Copy link
Contributor Author

Updated a test in history_test.js that was new in master today.

@@ -65,16 +65,18 @@ var BookmarksHelper = (() => {
Due to this common requirement, bug 1207468 will have an improvement for
this case.
*/
function setDataStoreId(synctoId, dataStoreId) {
function setDataStoreId(synctoId, dataStoreId, userid) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the comments to explain why we need to add the userid prefix, please.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, improving comments in general on adapters code would be really helpful.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from 4d04937 to f6f12ac Compare October 26, 2015 06:59
@mozilla-autolander-deprecated
Copy link
Contributor

@michielbdejong michielbdejong force-pushed the 1207468-fxsyncid-datastoreid-mapping branch from f6f12ac to 234827f Compare October 26, 2015 07:03
@mozilla-autolander-deprecated
Copy link
Contributor

ferjm added a commit that referenced this pull request Oct 26, 2015
…oreid-mapping

Bug 1207468 - Prefix asyncStorage entries with userid in DataAdapters, r=ferjm
@ferjm ferjm merged commit 4c78c9e into mozilla-b2g:master Oct 26, 2015
@michielbdejong michielbdejong deleted the 1207468-fxsyncid-datastoreid-mapping branch October 26, 2015 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants