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

Issue 390283002: [SyncFS] Demote local file changes before local-to-remote sync (3/3) (Closed)

Created:
6 years, 5 months ago by tzik
Modified:
6 years, 4 months ago
Reviewers:
peria
CC:
chromium-reviews, kinuko+fileapi, nhiroki, tzik
Project:
chromium
Visibility:
Public.

Description

[SyncFS] Demote local file changes before local-to-remote sync This prevents a task to pick a file to sync while another task is syncing it. BUG=344769 TEST=unit_tests --gtest_filter='LocalFileSyncContextTest.*' Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287312

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : update change_tracker (will split to a separate CL) #

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Patch Set 9 : fix #

Patch Set 10 : debug printfs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -4 lines) Patch
M chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/local/local_file_change_tracker.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_context.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_context.cc View 1 2 3 4 5 6 7 8 9 4 chunks +56 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
tzik
PTL
6 years, 5 months ago (2014-07-15 07:07:23 UTC) #1
peria
Please fill BUG line and TEST line in the description. https://codereview.chromium.org/390283002/diff/1/chrome/browser/sync_file_system/local/local_file_sync_context.cc File chrome/browser/sync_file_system/local/local_file_sync_context.cc (right): https://codereview.chromium.org/390283002/diff/1/chrome/browser/sync_file_system/local/local_file_sync_context.cc#newcode776 ...
6 years, 5 months ago (2014-07-15 07:19:49 UTC) #2
tzik
Updated! PTAL. https://codereview.chromium.org/390283002/diff/1/chrome/browser/sync_file_system/local/local_file_sync_context.cc File chrome/browser/sync_file_system/local/local_file_sync_context.cc (right): https://codereview.chromium.org/390283002/diff/1/chrome/browser/sync_file_system/local/local_file_sync_context.cc#newcode776 chrome/browser/sync_file_system/local/local_file_sync_context.cc:776: for (std::deque<FileSystemURL>::iterator iter = urls->begin(); On 2014/07/15 ...
6 years, 5 months ago (2014-07-22 13:14:33 UTC) #3
peria
lgtm
6 years, 5 months ago (2014-07-23 01:54:42 UTC) #4
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 5 months ago (2014-07-25 03:01:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/390283002/120001
6 years, 5 months ago (2014-07-25 03:04:01 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-25 07:40:38 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-25 08:20:17 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel_swarming/builds/2309)
6 years, 5 months ago (2014-07-25 08:20:18 UTC) #9
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 4 months ago (2014-08-04 05:47:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/390283002/180001
6 years, 4 months ago (2014-08-04 05:48:45 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-04 09:27:46 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-08-04 09:56:23 UTC) #13
Message was sent while issue was closed.
Change committed as 287312

Powered by Google App Engine
This is Rietveld 408576698