RESOLVED FIXED Bug 149678
Add UniqueIDBDatabase object, IDBBackingStore objects, and a database operation thread
https://bugs.webkit.org/show_bug.cgi?id=149678
Summary Add UniqueIDBDatabase object, IDBBackingStore objects, and a database operati...
Brady Eidson
Reported 2015-09-30 14:08:19 PDT
Add UniqueIDBDatabase object, IDBBackingStore objects, and a database operation thread - UniqueIDBDatabase represents a specific IDB database instance that can have multiple connections to it. - IDBBackingStore is an abstract representation of a unique database's backing store, and has a concrete in-memory implementation for now. - The database thread exists on IDBServer and is for offloading actual database I/O from the main thread.
Attachments
Patch v1 (61.20 KB, patch)
2015-09-30 14:20 PDT, Brady Eidson
achristensen: review+
Patch v2 for landing (62.72 KB, patch)
2015-09-30 16:36 PDT, Brady Eidson
no flags
Patch v3 - EWS retry (62.72 KB, patch)
2015-09-30 17:01 PDT, Brady Eidson
no flags
Brady Eidson
Comment 1 2015-09-30 14:20:29 PDT
Created attachment 262190 [details] Patch v1
Alex Christensen
Comment 2 2015-09-30 15:15:38 PDT
Comment on attachment 262190 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=262190&action=review > Source/WebCore/Modules/indexeddb/server/IDBServer.cpp:152 > + Locker<Lock> locker(m_databaseThreadCreationLock); Put a comment saying what this does.
Brady Eidson
Comment 3 2015-09-30 16:36:43 PDT
Created attachment 262205 [details] Patch v2 for landing
Brady Eidson
Comment 4 2015-09-30 16:57:23 PDT
EFL build failure: https://webkit-queues.webkit.org/results/229258 The build is failing because: Last 500 characters of output: server/IDBServer.cpp In file included from ../../Source/WebCore/Modules/indexeddb/server/IDBServer.cpp:34:0: ../../Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h:38:97: error: 'IDBDatabaseIdentifier' does not name a type friend std::unique_ptr<MemoryIDBBackingStore> std::make_unique<MemoryIDBBackingStore>(const IDBDatabaseIdentifier&); Note the OSX/iOS builds work fine, as IDBDatabaseIdentifier.h is included in that very file and has that definition. Is this some compiler deficiency on efl/linux?
Brady Eidson
Comment 5 2015-09-30 17:01:20 PDT
Created attachment 262207 [details] Patch v3 - EWS retry
WebKit Commit Bot
Comment 6 2015-09-30 18:04:45 PDT
Comment on attachment 262207 [details] Patch v3 - EWS retry Clearing flags on attachment: 262207 Committed r190379: <http://trac.webkit.org/changeset/190379>
WebKit Commit Bot
Comment 7 2015-09-30 18:04:50 PDT
All reviewed patches have been landed. Closing bug.
Gyuyoung Kim
Comment 8 2015-09-30 20:09:35 PDT
(In reply to comment #6) > Comment on attachment 262207 [details] > Patch v3 - EWS retry > > Clearing flags on attachment: 262207 > > Committed r190379: <http://trac.webkit.org/changeset/190379> Fix a build break for EFL and GTK. https://bugs.webkit.org/show_bug.cgi?id=149693
Note You need to log in before you can comment on or make changes to this bug.