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

Issue 12209115: Sync FileSystem: disable etag match on duplication recovery. (Closed)

Created:
7 years, 10 months ago by tzik
Modified:
7 years, 10 months ago
Reviewers:
kinuko, nhiroki
CC:
chromium-reviews, tzik+watch_chromium.org, kinuko+watch
Visibility:
Public.

Description

Sync FileSystem: disable etag match on duplication recovery. This causes a PRECONDITION error when two clients try to delete duplicated files. The conflict is ignorable on this case, so we can just drop the etag matching. (notry, since most of try jobs are passed, and failed try looks not related to the patch) BUG=175682 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182174

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix comment, rename deletion function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -14 lines) Patch
M chrome/browser/sync_file_system/drive_file_sync_client.h View 1 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/sync_file_system/drive_file_sync_client.cc View 1 4 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
tzik
PTAL
7 years, 10 months ago (2013-02-12 06:28:16 UTC) #1
kinuko
https://codereview.chromium.org/12209115/diff/1/chrome/browser/sync_file_system/drive_file_sync_client.cc File chrome/browser/sync_file_system/drive_file_sync_client.cc (right): https://codereview.chromium.org/12209115/diff/1/chrome/browser/sync_file_system/drive_file_sync_client.cc#newcode840 chrome/browser/sync_file_system/drive_file_sync_client.cc:840: void DriveFileSyncClient::DeleteEntries( This method name might be misnomer? DeleteDuplicatedEntries ...
7 years, 10 months ago (2013-02-12 07:57:29 UTC) #2
nhiroki
Looks good to me, I'll defer to kinuko-san.
7 years, 10 months ago (2013-02-12 08:00:58 UTC) #3
kinuko
Taiju, could we fix the comment so that we can land this now? Thanks,
7 years, 10 months ago (2013-02-12 11:04:37 UTC) #4
tzik
Thanks! Updated. https://codereview.chromium.org/12209115/diff/1/chrome/browser/sync_file_system/drive_file_sync_client.cc File chrome/browser/sync_file_system/drive_file_sync_client.cc (right): https://codereview.chromium.org/12209115/diff/1/chrome/browser/sync_file_system/drive_file_sync_client.cc#newcode840 chrome/browser/sync_file_system/drive_file_sync_client.cc:840: void DriveFileSyncClient::DeleteEntries( On 2013/02/12 07:57:30, kinuko wrote: ...
7 years, 10 months ago (2013-02-12 11:48:18 UTC) #5
kinuko
lgtm
7 years, 10 months ago (2013-02-12 11:49:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/12209115/6001
7 years, 10 months ago (2013-02-12 12:17:19 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98671
7 years, 10 months ago (2013-02-12 12:59:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/12209115/6001
7 years, 10 months ago (2013-02-13 00:58:36 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-13 01:13:58 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/12209115/6001
7 years, 10 months ago (2013-02-13 03:26:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/12209115/6001
7 years, 10 months ago (2013-02-13 09:36:33 UTC) #12
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 09:39:00 UTC) #13
Message was sent while issue was closed.
Change committed as 182174

Powered by Google App Engine
This is Rietveld 408576698