Closed Bug 1619948 Opened 4 years ago Closed 4 years ago

Put LSNG behind the EARLY_BETA_OR_EARLIER flag

Categories

(Core :: Storage: localStorage & sessionStorage, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox75 blocking fixed
firefox76 --- fixed

People

(Reporter: pascalc, Assigned: janv)

References

Details

Attachments

(1 file, 1 obsolete file)

We uplift a patch to disable LSNG at the end of each beta cycle and almost forgot to do it in a couple of releases. LSNG should be behind the EARLY_BETA_OR_EARLIER flag so as that it gets disabled automatically in the middle of the beta cycle. When we decide that we are ready to ship it, we will uplift a patch activating it past the mid beta cycle point.

Ok.

Status: NEW → ASSIGNED
Priority: -- → P1

test_localStorageQuotaSessionOnly.html will need to be adjusted with LSNG disabled, see bug 1611317.

Flags: needinfo?(jvarga)

This bug is tracked by a release manager but with a small severity so change it to major.
For more information, please visit auto_nag documentation.

Severity: normal → major

Will Beta users storage backend flip back and forth between legacy-LS and LSNG? (when Beta becomes not "early" and when Beta merges to the next version)

Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f0b527ef54c
Put LSNG behind the EARLY_BETA_OR_EARLIER flag; r=asuth

Please request uplift to beta when you get a chance.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76

(In reply to Masatoshi Kimura [:emk] from comment #6)

Will Beta users storage backend flip back and forth between legacy-LS and LSNG? (when Beta becomes not "early" and when Beta merges to the next version)

Yes. This works out fine because:

  • When enabled, LSNG migrates old LS data as it is needed and issues writes to both the old single database and the new per-origin databases.
  • When disabled, LSNG support logic knows to wipe out the new databases that will no longer be used. (This is necessary for privacy and data staleness concerns.)

As a result, the change is seamless to users[1].

1: As long as QuotaManager isn't broken in the profile.

Comment on attachment 9135161 [details]
Bug 1619948 - Put LSNG behind the EARLY_BETA_OR_EARLIER flag; r=asuth

let's get this and the followup in for 75.0b10

Flags: needinfo?(jvarga)
Attachment #9135161 - Flags: approval-mozilla-beta+
Attachment #9135145 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: