[Webkit-unassigned] [Bug 186104] New: Stop using StorageTracker.db in LocalStroageDatabaseTracker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 30 11:31:27 PDT 2018


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

            Bug ID: 186104
           Summary: Stop using StorageTracker.db in
                    LocalStroageDatabaseTracker
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sihui_liu at apple.com

StorageTracker.db acts as an cache for searching files in LocalStorage directory. There are a few reasons we may not want StorageTracker.db any more:
1. We could compute file name from origin, so as long as we have origin information(m_origins), we don't need StorageTracker.db for mapping from origin to file path. This help us simplify the code.
2. Maintaining(open/delete/update) a database could be expensive. 
3. Currently StorageTracker.db stores full paths, which causes problems like not deleting correct files after restoring from iCloud backup(<rdar://problem/31744826>).

-- 
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/20180530/f2c36d30/attachment.html>


More information about the webkit-unassigned mailing list