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

Issue 443793003: [SyncFS] Clear dirty flag on changelist application phase (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] Clear dirty flag on changelist application phase Clear trivially solvable dirty flag in earlier phase than before, so that consecutive local changes doesn't conflict to each other. BUG=344769 TEST=unit_tests --gtest_filter=DriveBackendSyncTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289271

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : revised #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -0 lines) Patch
M chrome/browser/sync_file_system/drive_backend/list_changes_task.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/list_changes_task.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.cc View 1 2 3 2 chunks +57 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tzik
PTL
6 years, 4 months ago (2014-08-07 09:26:46 UTC) #1
peria
https://codereview.chromium.org/443793003/diff/20001/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/443793003/diff/20001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1368 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1368: index_->EnumerateDirtyTrackers(base::Bind( This code looks too complicated to me. Can't ...
6 years, 4 months ago (2014-08-07 09:40:43 UTC) #2
tzik
Could you take another look? https://codereview.chromium.org/443793003/diff/20001/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/443793003/diff/20001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1368 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1368: index_->EnumerateDirtyTrackers(base::Bind( On 2014/08/07 09:40:43, ...
6 years, 4 months ago (2014-08-12 15:14:31 UTC) #3
peria
https://codereview.chromium.org/443793003/diff/40001/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/443793003/diff/40001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1394 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1394: if (!CanClearDirty(*itr)) Could you merge GetFileTracker(id, tracker_ptr) on #1396-1397 ...
6 years, 4 months ago (2014-08-13 09:04:08 UTC) #4
tzik
https://codereview.chromium.org/443793003/diff/40001/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/443793003/diff/40001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1394 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1394: if (!CanClearDirty(*itr)) On 2014/08/13 09:04:08, peria wrote: > Could ...
6 years, 4 months ago (2014-08-13 09:30:03 UTC) #5
peria
lgtm
6 years, 4 months ago (2014-08-13 09:31:41 UTC) #6
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 4 months ago (2014-08-13 09:35:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/443793003/60001
6 years, 4 months ago (2014-08-13 09:38:58 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_compile_dbg on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-13 10:52:11 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 12:25:21 UTC) #10
Message was sent while issue was closed.
Change committed as 289271

Powered by Google App Engine
This is Rietveld 408576698