Closed Bug 1464346 Opened 6 years ago Closed 6 years ago

Skip changes that were already processed

Categories

(Firefox :: Remote Settings Client, enhancement)

57 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 62
Tracking Status
firefox62 --- fixed

People

(Reporter: leplatrem, Assigned: leplatrem)

References

Details

Attachments

(1 file)

Currently we fetch the whole list of changes at https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/records

But we could also use `?_since=${lastEtag}` to avoid downloading (and analysing) entries that we already processed.
Assignee: nobody → mathieu
Depends on: 1454970
Comment on attachment 8981152 [details]
Bug 1464346 - Skip RemoteSettings changes that were already processed

https://reviewboard.mozilla.org/r/247252/#review255806

This looks good - I'm keen to ensure that we don't get regressions from modifying the update behaviour; can we get some QA on this (not sure who would look at this usually)?
Attachment #8981152 - Flags: review?(mgoodwin) → review+
Thanks!

I checked using about:remotesettings and about:config that we obtain the expected behaviour. I also checked that the CDN caches the responses with ?_since querystrings.

Regarding QA, we are putting in place a validation plan with the Product Integrity team. And it does not concern this change only but the whole RemoteSettings solution. [0]

Unfortunately, it's too table to include this validation plan for the 62 train. 

I'm pretty sure this is safe to land this, but we can wait for 63 if that makes you more comfortable.

[0] https://docs.google.com/document/d/1wqEAiRYQmy1IRSlGc4XQV-tEsK_3KALGeI1Nsn1BPiI/edit#heading=h.4cbo7dbq460e
Keywords: checkin-needed
Target Milestone: --- → Firefox 62
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/62f9aa66e244
Skip RemoteSettings changes that were already processed r=mgoodwin
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/62f9aa66e244
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
See Also: → 1533063
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: