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

Issue 446793002: [SyncFS] Unconditionally demote remote file trackers on remote-to-local sync (Closed)

Created:
6 years, 4 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] Unconditionally demote remote file trackers on remote-to-local sync Keep trackers demoted when it is being synced from local to remote, so that the tracker is not chosen for another LocalToRemoteSyncer instance. BUG=344769 TEST=unit_tests --gtest_filter=LocalToRemoteSyncerTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289212

Patch Set 1 #

Patch Set 2 : test fix #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : test fix #

Patch Set 6 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -69 lines) Patch
M chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc View 1 2 3 4 5 1 chunk +11 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc View 1 5 chunks +20 lines, -29 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.cc View 1 2 3 4 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database_index.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database_index.cc View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database_index_interface.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.cc View 1 2 3 4 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc View 1 6 chunks +4 lines, -13 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc View 1 2 3 4 15 chunks +39 lines, -17 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
tzik
PTL
6 years, 4 months ago (2014-08-07 09:12:01 UTC) #1
peria
https://codereview.chromium.org/446793002/diff/60001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc File chrome/browser/sync_file_system/drive_backend/metadata_database.cc (right): https://codereview.chromium.org/446793002/diff/60001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1179 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1179: bool should_promote = false; isn't it referred?
6 years, 4 months ago (2014-08-07 09:24:48 UTC) #2
tzik
https://codereview.chromium.org/446793002/diff/60001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc File chrome/browser/sync_file_system/drive_backend/metadata_database.cc (right): https://codereview.chromium.org/446793002/diff/60001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1179 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1179: bool should_promote = false; On 2014/08/07 09:24:48, peria wrote: ...
6 years, 4 months ago (2014-08-08 04:05:43 UTC) #3
peria
lgtm
6 years, 4 months ago (2014-08-08 04:07:02 UTC) #4
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 4 months ago (2014-08-08 04:15:12 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/446793002/80001
6 years, 4 months ago (2014-08-08 04:15:46 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_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-08 07:55:05 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-08 08:27:33 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/4197)
6 years, 4 months ago (2014-08-08 08:27:34 UTC) #9
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 4 months ago (2014-08-12 13:32:19 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/446793002/100001
6 years, 4 months ago (2014-08-12 13:33:27 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-12 18:15:18 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 18:29:08 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/3366) mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/5190) mac_chromium_rel_swarming ...
6 years, 4 months ago (2014-08-12 18:29:09 UTC) #14
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 4 months ago (2014-08-13 04:37:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/446793002/120001
6 years, 4 months ago (2014-08-13 04:38:47 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 08:27:01 UTC) #17
Message was sent while issue was closed.
Change committed as 289212

Powered by Google App Engine
This is Rietveld 408576698