[Webkit-unassigned] [Bug 202137] IndexedDB WAL file keeps growing while app is in use

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 28 17:13:54 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=202137

Ben Nham <nham at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nham at apple.com
           Assignee|webkit-unassigned at lists.web |nham at apple.com
                   |kit.org                     |

--- Comment #8 from Ben Nham <nham at apple.com> ---
Going to take a stab at this. From looking at SQLiteIDBBackingStore.cpp, it looks like there are several places where we only step a cached prepared statement until it hits SQLITE_ROW and then immediately return (like uncheckedGetKeyGeneratorValue). The problem is that cursor will hold open a read transaction to that version of the table, preventing checkpointing from ever moving past the pages associated with that version of the table.

We need to ensure all cached prepared statements are iterated until they hit SQLITE_DONE or we sqlite3_reset them; both will cause the associated transaction to be dropped.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200429/a5fbcb77/attachment-0001.htm>


More information about the webkit-unassigned mailing list