[Webkit-unassigned] [Bug 157843] Modern IDB: Add support for server side closing of open database connections
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 18 09:28:32 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=157843
--- Comment #1 from Brady Eidson <beidson at apple.com> ---
When the IDBServer decides to close a database connection itself, a lot of cleanup has to take place.
The server has to:
- Error out all requests it knows about
- Abort all transactions it knows about
- Tell the connection that it is being closed
- Wait for the connection to acknowledge that it was closed on the server
The client has to:
- Error out all requests it hasn't sent to the server
- Abort all transactions that haven't already been aborted by the server
- Send acknowledgement to the server that it has been closed.
Additionally, because of the asynchronous nature of requests being "in flight" between the client and server, a few design assumptions change, requiring changing some asserts and null checks to be graceful failures, etc etc.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160518/f420fba6/attachment.html>
More information about the webkit-unassigned
mailing list