• mariannet's avatar
    Cloud import: enable retry upon failure with the affected items. · ca5cb660
    mariannet authored
    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: default avatarSteve McKay <smckay@chromium.org>
    Reviewed-by: default avatarNaoki Fukino <fukino@chromium.org>
    Reviewed-by: default avatarTomasz Mikolajewski <mtomasz@chromium.org>
    Reviewed-by: default avatarKeigo Oka <oka@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#520885}
    ca5cb660
chromeos_strings.grdp 309 KB