Bug 916078 (AsyncShutdown)

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

NEW
Unassigned

Status

()

defect
6 years ago
7 months ago

People

(Reporter: Yoric, Unassigned)

Tracking

(Depends on 2 bugs, Blocks 2 bugs, {meta})

Firefox Tracking Flags

(Not tracked)

Details

()

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.
Component: General → Async Tooling
Alias: AsyncShutdown
Whiteboard: [Async][Async Shutdown]

Updated

5 years ago
Whiteboard: [Async][Async Shutdown]

Updated

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