Cloud import: enable retry upon failure with the affected items.
When backing up things via cloud import, they first get snapshotted locally before being synced to drive. If there is not enough local space for the snapshot, backup for the affected file fails. However, sync to drive is the bottleneck to the whole operation, so backing up a sum of files whose size exceeds the storage available locally might have a couple of them failing. This shouldn't affect the user, though - so wait until drive sends a sync complete signal, then retry backing up the failed items, as long as at least one file is backed up successfully and at least one of them fails. Cloud import / Infini backup: Enable retry upon failure with the affected items. Bug: 354574 Test: manual + ./out/Release/browser_tests --gtest_filter=*MediaImportHandler* Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Id29217980f7d42e7137fdb00fa7f508e1ab0c85d Reviewed-on: https://chromium-review.googlesource.com/789171 Commit-Queue: Marianne Thieffry <mariannet@google.com> Reviewed-by:Steve McKay <smckay@chromium.org> Reviewed-by:
Naoki Fukino <fukino@chromium.org> Reviewed-by:
Tomasz Mikolajewski <mtomasz@chromium.org> Reviewed-by:
Keigo Oka <oka@chromium.org> Cr-Commit-Position: refs/heads/master@{#520885}
Showing
This diff is collapsed.
Please register or sign in to comment