New issue
Advanced search Search tips

Issue 825228 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: Mar 2018
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 785086



Sign in to add a comment

Drive file sync periodically cancelled and start again while zipping a file not yet cached

Project Member Reported by yamaguchi@chromium.org, Mar 23 2018

Issue description

I once thought this is same as Issue 797854, but turned out to be a different one.

Chrome Version: 76.0.3372.0

Steps To Reproduce:
(1) Go chrome://drive-internals.
(2) Click "Clear local data" button.
(3) Try to zip a file (about >100MB) on Drive.
(4) Observe [In-flight operations] and [Event log] in chrome://drive-internals.

Expected Result:
The zip should finish in a reasonable length of time.
The logs indicate a one-shot download of the file being zipped.

Actual Result:
The ID of the operation keeps increasing. It indicates that the download operation is intermittently cancelled and scheduled again.
The event log also indicates periodic cancellation.

FILE_QUEUE pending: 1, running: 0
2018-03-24T00:22:08.171: [info] Job started: TYPE_DOWNLOAD_FILE STATE_RUNNING [2] bytes: 0/632860544 - FILE_QUEUE pending: 0, running: 1
2018-03-24T00:22:09.007: [warning] Job done: TYPE_DOWNLOAD_FILE STATE_RUNNING [2] bytes: 525863/632860544 => DRIVE_CANCELLED (elapsed time: 835ms) - FILE_QUEUE pending: 0, running: 0
2018-03-24T00:22:09.045: [info] Job queued: TYPE_DOWNLOAD_FILE STATE_NONE [3] bytes: 0/632860544 - FILE_QUEUE pending: 1, running: 0
2018-03-24T00:22:09.045: [info] Job started: TYPE_DOWNLOAD_FILE STATE_RUNNING [3] bytes: 0/632860544 - FILE_QUEUE pending: 0, running: 1
2018-03-24T00:22:09.684: [warning] Job done: TYPE_DOWNLOAD_FILE STATE_RUNNING [3] bytes: 1048576/632860544 => DRIVE_CANCELLED (elapsed time: 639ms) - FILE_QUEUE pending: 0, running: 0

As a result, the zipping operation takes very long time (more than 10x, compared to when marking the file as 'available offline' before zipping).

This is reproduced deterministically.

 
Mergedinto: 797854
Status: Duplicate (was: Started)
I thought 797854 is a different issue looking Comment #8 there https://bugs.chromium.org/p/chromium/issues/detail?id=797854#c8, but originally 797854 is for this "intermittent download cancellation". So it's already covered by the original bug.

Sign in to add a comment