[Webkit-unassigned] [Bug 197050] IndexedDB: An internal error was encountered in the Indexed Database server

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 4 07:05:47 PDT 2020


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

Istvan Tabanyi <steve at powerednow.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steve at powerednow.com

--- Comment #33 from Istvan Tabanyi <steve at powerednow.com> ---
Created attachment 405919

  --> https://bugs.webkit.org/attachment.cgi?id=405919&action=review

Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.

I still see a *lot* of these on latest iOS with our app. I can not reproduce it by normal usage, but recently I found a pretty reliable way to trigger it. Just start writing records into indexeddb, put the app into background, wait a bit, then repeat, sometimes rapidly switch between foreground and background. Eventually I get a "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing."
While this is a bit odd way, our users have a lot of trouble because of this, so I guess it just requires some nice timing with putting the app to background.

I also got some kind of failsafe mechanism in place as I automatically retry failed writes a few times. Now another strange issue happens here as during writes I get some "UnknownError: An internal error was encountered in the Indexed Database server", the retry logic trigger, but on the next write request I got ConstraintError, as the data was actually written into indexeddb store previously.

This bug is really killing us, please tell me whatever more info you need to address this. Happy to debug it if you give me some points how to start, as I said I can repro it pretty easily now.

-- 
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/20200804/3b35f339/attachment.htm>


More information about the webkit-unassigned mailing list