Open Bug 1905936 Opened 3 months ago Updated 3 months ago

Add a mechanism to let data stores know that they should flush to disk before a backup occurs.

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

People

(Reporter: mconley, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-device-migration])

In bug 1892968, it was revealed that JSONFile uses a DeferredTask (with a default timeout of 1.5 seconds) to flush data to disk.

Bug 1892968 made SQLite database cloning faster, and revealed the race for logins.json. We should have some kind of broadcast mechanism during backup to let data stores know that they should flush before we start cloning things.

Whiteboard: [
Whiteboard: [ → [fidefe-device-migration]
You need to log in before you can comment on or make changes to this bug.