Bug 916078 (AsyncShutdown)

[meta][Async shutdown] Make asynchronous services shutdown-safe

NEW
Unassigned

Status

()

Toolkit
Async Tooling
4 years ago
2 years ago

People

(Reporter: Yoric, Unassigned)

Tracking

(Depends on: 2 bugs, Blocks: 3 bugs)

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Bug 911820 demonstrates that we currently do not shutdown all services in a shutdown-safe way. In this case, some writes may started too late and be interrupted while in progress, causing data loss. Examining some parts of the code seems to indicates that attempts to avoid such data loss results in code that may deadlock.

Opening this bug to track the effort on making our services shutdown-safe:
- every service that performs asynchronous operations must have the opportunity to call the services from which it depends before they become unavailable;
- such calls must not cause deadlocks.
Depends on: 916729
Depends on: 917764
Blocks: 662444
Component: General → Async Tooling
Depends on: 918317
Depends on: 918798
Depends on: 859695
Alias: AsyncShutdown
Whiteboard: [Async][Async Shutdown]
Blocks: 932266

Updated

4 years ago
Whiteboard: [Async][Async Shutdown]
Depends on: 983571
Depends on: 801598
Depends on: 966253
Depends on: 984879
Depends on: 1017706
Depends on: 917883
Depends on: 1008944
Depends on: 853549
Depends on: 1016831
Depends on: 940408
Depends on: 967203
Depends on: 1008148
Depends on: 985655
Depends on: 952543
Blocks: 1071792

Updated

3 years ago
Depends on: 1121130
You need to log in before you can comment on or make changes to this bug.