Closed Bug 568742 Opened 15 years ago Closed 3 years ago

signons.sqlite should be opened with PRAGMA synchronous=FULL

Categories

(Toolkit :: Password Manager, defect, P5)

All
Android
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Dolske, Unassigned)

References

Details

sdwilsh has mentioned this before, and I keep forgetting to file. AIUI, we currently use synchronous=NORMAL, due to previous performance problems. Logins are critical data that doesn't change often, so going to synchronous=FULL shouldn't be a perf concern, and the extra reliability is a win. May want to do this for satchel as well?
(In reply to comment #0) > AIUI, we currently use synchronous=NORMAL, due to previous performance > problems. Logins are critical data that doesn't change often, so going to > synchronous=FULL shouldn't be a perf concern, and the extra reliability is a > win. May want to do this for satchel as well? Probably want to do this *after* you make these statements async?
What's the impact of not waiting? I don't think the pwmgr implementation is going to become async any time soon, since the API it exposes is synchronous.
(In reply to comment #2) > What's the impact of not waiting? I don't think the pwmgr implementation is > going to become async any time soon, since the API it exposes is synchronous. Every transaction (implicit or explicit) does one additional fsync.
We only import from signons.sqlite for desktop and instead use logins.json since bug 853549.
OS: All → Android
Priority: -- → P5
We're half-way through moving to a Java-side password store: <https://wiki.mozilla.org/Mobile/Projects/Java-side_replacement_for_nsILoginManager>. Bug 946857 is the first step. Once that process is complete, the SQLite-backed nsILoginManagerStorage can go away, I think, fixing this bug and others.
Depends on: 946857

signons.sqlite is not used anymore

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.