Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Issue 502643003: IndexedDB: Cancel transaction inactivity timer on Commit() arrival (Closed)

Created:
6 years, 4 months ago by jsbell
Modified:
6 years, 3 months ago
Reviewers:
cmumford
CC:
chromium-reviews, darin-cc_chromium.org, dgrogan, jsbell+idb_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

IndexedDB: Cancel transaction inactivity timer on Commit() arrival After processing a batch of requests, our IDB transaction initiates an inactivity timer; if the timer fires before any further requests arrive from the front-end we assume the front-end is wedged and abort the transaction. The timer is be stopped on any new request, including a signal to commit or abort. During the introduction of blobs, the "stop timer on commit signal" ended towards the end of the commit flow, but it should be towards the start so it doesn't fire if the back-end is busy. Speculative fix for frequent timeouts of W3C web-platform-tests seen on slow bots. R=cmumford@chromium.org Committed: https://crrev.com/d71e9bcb98c8097b6192f45af7ac663a2ccc255d Cr-Commit-Position: refs/heads/master@{#292035}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M content/browser/indexed_db/indexed_db_transaction.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jsbell
This shouldn't be necessary, and almost certainly doesn't account for the aborts seen in the ...
6 years, 4 months ago (2014-08-22 23:38:41 UTC) #1
cmumford
On 2014/08/22 23:38:41, jsbell wrote: > This shouldn't be necessary, and almost certainly doesn't account ...
6 years, 3 months ago (2014-08-26 21:43:13 UTC) #2
jsbell
> Personally I'm not in favor of having this timer and think we should consider ...
6 years, 3 months ago (2014-08-26 21:49:09 UTC) #3
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 3 months ago (2014-08-26 21:49:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/502643003/1
6 years, 3 months ago (2014-08-26 21:50:55 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (1) as 8a5482b2b81fc4d6ef1db36a651bcfd43c58ac96
6 years, 3 months ago (2014-08-26 23:43:39 UTC) #6
jsbell
Huh... this appears to have improved this markedly on the bots. Didn't expect it to. ...
6 years, 3 months ago (2014-08-29 22:37:23 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:47:30 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d71e9bcb98c8097b6192f45af7ac663a2ccc255d
Cr-Commit-Position: refs/heads/master@{#292035}

Powered by Google App Engine
This is Rietveld 408576698