Closed Bug 1919428 Opened 2 years ago Closed 2 years ago

SDB: Fix handling of directory locks invalidated during database initialization

Categories

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

defect

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(7 external files)

No description provided.

Open requests currently succeed even if the underlying connection is allowed to
close (triggered by a clear operation). Open requests should rather fail in
that case because the connection is unsable anyway (a new open request must be
started).

Attachment #9425450 - Attachment description: Bug 1919428- SDB: Add a new testing only notification for database work starting; r=#dom-storage → Bug 1919428 - SDB: Add a new testing only notification for database work starting; r=#dom-storage
Blocks: 1919493
Attachment #9425449 - Attachment description: Bug 1919428 - Expose NotifyObserversOnMainThread to quota clients; r=#dom-storage → Bug 1919428 - QM: Expose NotifyObserversOnMainThread to quota clients; r=#dom-storage
Attachment #9425465 - Attachment description: Bug 1919428 - Add mozilla::dom::quota::SleepIfEnabled helper; r=#dom-storage → Bug 1919428 - QM: Add mozilla::dom::quota::SleepIfEnabled helper; r=#dom-storage
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3dcda0806e88 QM: Expose NotifyObserversOnMainThread to quota clients; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/6a3ad4849a45 QM: Add mozilla::dom::quota::SleepIfEnabled helper; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/83e42edc5675 SDB: Add a new testing only notification for database work starting; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/bf1f5c94404c SDB: Add support for pausing QM IO thread after finishing database initialization; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/5a7cef04e0c6 Add a test for origin clearing requested right after starting database work for SDB; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/5c3c454d20c8 SDB: Add handling for directory locks invalidated during database initialization; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/291120f71631 SDB: Error out open requests if the connection is allowed to close; r=dom-storage-reviewers,jari
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: