Closed
Bug 490661
(asyncBookmarkBackups)
Opened 16 years ago
Closed 11 years ago
bookmark backups should be async
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: dietrich, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: meta, perf, Whiteboard: [snappy:p2][qa-])
No description provided.
Reporter | ||
Updated•15 years ago
|
Whiteboard: [tsnap]
Reporter | ||
Comment 1•13 years ago
|
||
hm, are these written on idle only?
Comment 2•13 years ago
|
||
nope, a backup may also be created on shutdown if there is no backup in the last 24 hours, this covers those cases where idle may not happen.
Reporter | ||
Comment 3•13 years ago
|
||
ok, so if only on idle and possibly shutdown, this is a pretty low priority bug.
Reporter | ||
Updated•13 years ago
|
Whiteboard: [tsnap] → [snappy]
Updated•13 years ago
|
Whiteboard: [snappy] → [snappy:p1]
Comment 4•13 years ago
|
||
Taras says we should not do shutdown IO here.
Comment 5•13 years ago
|
||
No doubts, still, if the user never hits idle, there isn't another place where to backup his data.
Please read above, this only happens if there is no backup in the last 24 hours, and backups are saved on idle wherever possible.
Btw, all the import/export/backup/restore code is pretty old and needs a rewrite (bug 549736 may be a good thing to do, if we read asynchronously and directly from the db and allow to store data in different formats).
Depends on: 549736
Comment 6•13 years ago
|
||
Why do we need to do a backup on shutdown. Reducing this to p2 since we don't have data on how often this happens
Whiteboard: [snappy:p1] → [snappy:p2]
Reporter | ||
Comment 7•13 years ago
|
||
Yeah, definitely not P1. See above - we only backup on shutdown if the user never hit idle during previous session for a long enough time do to a backup *and* it's been >24hrs since previous backup.
Comment 8•13 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #7)
> Yeah, definitely not P1. See above - we only backup on shutdown if the user
> never hit idle during previous session for a long enough time do to a backup
> *and* it's been >24hrs since previous backup.
We could use telemetry to see how frequent this is.
Updated•12 years ago
|
Blocks: shutdown-faster
Updated•12 years ago
|
No longer blocks: shutdown-faster
Updated•11 years ago
|
Blocks: StorageJank
Summary: bookmark backups should write async → bookmark backups should be async
Updated•11 years ago
|
Alias: asyncBookmarkBackups
Comment 9•11 years ago
|
||
We can consider the main-thread IO issue that was covered by this meta as fixed. Work on backups didn't finish, there's still lot of stuff to cleanup (like shutdown, backups hashes comparison...), but that has a smaller priority compared to the main-thread IO issue tracked here. It can proceed apart.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•11 years ago
|
Whiteboard: [snappy:p2] → [snappy:p2][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•