Bug 81755 - [Qt] Cookie Jar blocks on fsync in SQLITE
Summary: [Qt] Cookie Jar blocks on fsync in SQLITE
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Allan Sandfeld Jensen
Depends on:
Reported: 2012-03-21 03:43 PDT by Allan Sandfeld Jensen
Modified: 2012-03-21 05:21 PDT (History)
4 users (show)

See Also:

Patch (1.44 KB, patch)
2012-03-21 04:15 PDT, Allan Sandfeld Jensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Sandfeld Jensen 2012-03-21 03:43:26 PDT
SetCookie currently writes the cookies to the shared cookiejar which is an sqlite database. Since the database is  configured to default mode with has full transaction safety, this causes an fsync call that blocks the entire webprocess.
Comment 1 Allan Sandfeld Jensen 2012-03-21 04:15:44 PDT
Created attachment 133009 [details]
Comment 2 WebKit Review Bot 2012-03-21 05:21:17 PDT
Comment on attachment 133009 [details]

Clearing flags on attachment: 133009

Committed r111526: <http://trac.webkit.org/changeset/111526>
Comment 3 WebKit Review Bot 2012-03-21 05:21:21 PDT
All reviewed patches have been landed.  Closing bug.