Closed
Bug 1262312
Opened 9 years ago
Closed 9 years ago
A device update POST is made every time about:preferences:#sync is shown
Categories
(Firefox :: Sync, defect, P1)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
Firefox 48
People
(Reporter: markh, Assigned: lina)
References
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
markh
:
review+
lizzard
:
approval-mozilla-beta+
lizzard
:
approval-mozilla-release+
|
Details |
Every time soomething requests the name of the Sync device, a post is made to update the device name, even though the device name is not changed. This is due to a subtle implementation detail - the localName getter at https://dxr.mozilla.org/mozilla-central/rev/d9f50aa0a1aaf90499b85c31e0f329b762e80fdd/services/sync/modules/engines/clients.js#128 always calls the setter - even when the value is the same - and the setter causes us to update the device registration.
Flags: firefox-backlog+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → kcambridge
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/44461/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/44461/
Attachment #8738331 -
Flags: review?(markh)
Reporter | ||
Comment 3•9 years ago
|
||
Comment on attachment 8738331 [details]
MozReview Request: Bug 1262312 - Don't update the device registration every time we open Sync preferences. r?markh
https://reviewboard.mozilla.org/r/44461/#review41201
Attachment #8738331 -
Flags: review?(markh) → review+
Comment 5•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8738331 [details]
MozReview Request: Bug 1262312 - Don't update the device registration every time we open Sync preferences. r?markh
Approval Request Comment
[Feature/regressing bug #]: Bug 1227527.
[User impact if declined]: High load on the FxA servers every time the user syncs or opens Sync prefs.
[Describe test coverage new/current, TreeHerder]: Covered by existing unit tests.
[Risks and why]: Low risk. This change is limited in scope to the Sync clients engine, and rode the train to Aurora.
[String/UUID change made/needed]: None.
Attachment #8738331 -
Flags: approval-mozilla-beta?
Assignee | ||
Updated•9 years ago
|
status-firefox46:
--- → affected
status-firefox47:
--- → affected
Updated•9 years ago
|
tracking-firefox46:
--- → +
tracking-firefox47:
--- → +
Comment 7•9 years ago
|
||
Marking this blocking for 46. We are holding back this morning from unthrottling 46. See bug 1268652.
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8738331 [details]
MozReview Request: Bug 1262312 - Don't update the device registration every time we open Sync preferences. r?markh
Requesting approval for release; same rationale as comment 6.
Attachment #8738331 -
Flags: approval-mozilla-release?
Comment 9•9 years ago
|
||
Comment on attachment 8738331 [details]
MozReview Request: Bug 1262312 - Don't update the device registration every time we open Sync preferences. r?markh
Needed to fix excessive server load on release. Please uplift to beta and m-r
Attachment #8738331 -
Flags: approval-mozilla-release?
Attachment #8738331 -
Flags: approval-mozilla-release+
Attachment #8738331 -
Flags: approval-mozilla-beta?
Attachment #8738331 -
Flags: approval-mozilla-beta+
Assignee | ||
Comment 10•9 years ago
|
||
Reporter | ||
Comment 11•9 years ago
|
||
Thanks Kit. I built from the release branch and verified it is working as expected. I can no longer reproduce unexpected requests to the device registration endpoint.
Comment 12•9 years ago
|
||
No one has mentioned esr. Does this affect 45.1.0 esr?
Flags: needinfo?(kcambridge)
Assignee | ||
Comment 13•9 years ago
|
||
I don't think so. Device registration is 46+, AFAIK.
Flags: needinfo?(kcambridge)
Reporter | ||
Updated•9 years ago
|
status-firefox-esr45:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•