Closed Bug 1666214 Opened 4 years ago Closed 3 years ago

Parallel shutdown of quota clients

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
85 Branch

People

(Reporter: janv, Assigned: sg)

References

(Blocks 1 open bug)

Details

Crash Data

Attachments

(2 files, 1 obsolete file)

No description provided.
Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED

Instead of having a separate timer for each quota client, we can use a single
timer in the QuotaManager for handling timeouts of all quota clients. The
original shutdown timeout of the quota manager itself can now be removed,
as AbortOperations is already called through InitiateShutdownWorkThreads on
each quota client.

This also moves MaybeRecordShutdownStep to the QuotaManager, which allows
easier access through the singleton instance returned by QuotaManager::GetRef.

Depends on D96082

Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d45a42bcf51d
Perform shutdown of all quota clients in parallel. r=dom-workers-and-storage-reviewers,janv
Keywords: leave-open
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e2fee9228390
Don't crash if the shutdown already completed when the shutdown timeout event is processed. r=dom-workers-and-storage-reviewers,janv
Crash Signature: [@ static mozilla::dom::quota::Client::InitiateShutdownWorkThreads::<T>::operator()::<T>::__invoke]
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/547a95c0bb90
Move shutdown timeout handling to QuotaManager. r=dom-workers-and-storage-reviewers,janv

I have a bit of a hard time seeing how these failures could be connected to the changed made in the patch, but I will give it a closer look tomorrow.

Backout by malexandru@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/7765d979d044
Backed out changeset 547a95c0bb90 for causing talos failures.
Blocks: 1681670
Flags: needinfo?(sgiesecke)
Keywords: leave-open

Moving over the backed out patch to Bug 1681670, and closing this.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Comment on attachment 9189995 [details]
Bug 1666214 - Move shutdown timeout handling to QuotaManager. r=#dom-workers-and-storage

Revision D98073 was moved to bug 1681670. Setting attachment 9189995 [details] to obsolete.

Attachment #9189995 - Attachment is obsolete: true
Target Milestone: --- → 85 Branch
Blocks: 1592336
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: