|
|
DescriptionRepeat window snapshot copy request on failure
We're hitting a bug where copy requests sporadically fail. The complete
fix is pretty involved (see https://crbug.com/644992 ), but just
repeating the copy request a few times should greatly reduce the
frequency of the problem and should be mergeable to M54.
BUG=644569
Committed: https://crrev.com/cebea890c1e2a49072e0e5ec2bd8823ae2bb2a86
Cr-Commit-Position: refs/heads/master@{#422012}
Patch Set 1 #Patch Set 2 : use window observer #Patch Set 3 : add override #
Total comments: 4
Patch Set 4 : use WindowTracker #Messages
Total messages: 28 (21 generated)
The CQ bit was checked by jbauman@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by jbauman@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by jbauman@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Repeat copy request BUG= ========== to ========== Repeat window snapshot copy request on failure We're hitting a bug where copy requests sporadically fail. The complete fix is pretty involved (see https://crbug.com/644992 ), but just repeating the copy request a few times should greatly reduce the frequency of the problem and should be mergeable to M54. BUG=644569 ==========
jbauman@chromium.org changed reviewers: + sadrul@chromium.org
https://codereview.chromium.org/2349973009/diff/40001/ui/snapshot/snapshot_au... File ui/snapshot/snapshot_aura.cc (right): https://codereview.chromium.org/2349973009/diff/40001/ui/snapshot/snapshot_au... ui/snapshot/snapshot_aura.cc:27: WindowCapturer(aura::Window* window) : window_(window) { explicit https://codereview.chromium.org/2349973009/diff/40001/ui/snapshot/snapshot_au... ui/snapshot/snapshot_aura.cc:39: aura::Window* window_; DISALLOW_COPY_AND_ASSIGN https://codereview.chromium.org/2349973009/diff/40001/ui/snapshot/snapshot_au... ui/snapshot/snapshot_aura.cc:78: MakeAsyncCopyRequest( Do we want to delay this request? Does the failure happen quickly enough that we may be issuing too many retries too quickly? Would that be problematic, e.g. cause the system ui to freeze? https://codereview.chromium.org/2349973009/diff/40001/ui/snapshot/snapshot_au... ui/snapshot/snapshot_aura.cc:93: base::MakeUnique<WindowCapturer>(window); You can use aura::WindowTracker if you want instead.
The CQ bit was checked by jbauman@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/09/29 04:45:10, sadrul wrote: > https://codereview.chromium.org/2349973009/diff/40001/ui/snapshot/snapshot_au... > ui/snapshot/snapshot_aura.cc:78: MakeAsyncCopyRequest( > Do we want to delay this request? Does the failure happen quickly enough that we > may be issuing too many retries too quickly? Would that be problematic, e.g. > cause the system ui to freeze? No, when this fails very little work has been done (mostly just an unnecessary browser commit), so I don't think any extra ratelimiting is necessary. > > https://codereview.chromium.org/2349973009/diff/40001/ui/snapshot/snapshot_au... > ui/snapshot/snapshot_aura.cc:93: base::MakeUnique<WindowCapturer>(window); > You can use aura::WindowTracker if you want instead. Thanks, that works well.
lgtm
The CQ bit was checked by jbauman@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Repeat window snapshot copy request on failure We're hitting a bug where copy requests sporadically fail. The complete fix is pretty involved (see https://crbug.com/644992 ), but just repeating the copy request a few times should greatly reduce the frequency of the problem and should be mergeable to M54. BUG=644569 ========== to ========== Repeat window snapshot copy request on failure We're hitting a bug where copy requests sporadically fail. The complete fix is pretty involved (see https://crbug.com/644992 ), but just repeating the copy request a few times should greatly reduce the frequency of the problem and should be mergeable to M54. BUG=644569 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Repeat window snapshot copy request on failure We're hitting a bug where copy requests sporadically fail. The complete fix is pretty involved (see https://crbug.com/644992 ), but just repeating the copy request a few times should greatly reduce the frequency of the problem and should be mergeable to M54. BUG=644569 ========== to ========== Repeat window snapshot copy request on failure We're hitting a bug where copy requests sporadically fail. The complete fix is pretty involved (see https://crbug.com/644992 ), but just repeating the copy request a few times should greatly reduce the frequency of the problem and should be mergeable to M54. BUG=644569 Committed: https://crrev.com/cebea890c1e2a49072e0e5ec2bd8823ae2bb2a86 Cr-Commit-Position: refs/heads/master@{#422012} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/cebea890c1e2a49072e0e5ec2bd8823ae2bb2a86 Cr-Commit-Position: refs/heads/master@{#422012} |