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

Issue 905853002: Sync commit errors should temporarily re-enable trigger pre-commit getupdates (Closed)

Created:
5 years, 10 months ago by Gang Wu
Modified:
5 years, 10 months ago
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, albertb+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sync commit errors should temporarily re-enable trigger pre-commit getupdates Add a boolean variable in class DataTypeTracker, so every time when a data type got conflict response from server during commit, will set that boolean variable to true, then next time sync, GetUpdate will check the boolean to see if need to GetUpdate to resolve conflict locally. BUG=324893 Committed: https://crrev.com/21f43c5af27e24c34565df26bb51fcc704c97597 Cr-Commit-Position: refs/heads/master@{#315339} Committed: https://crrev.com/f951166bde5650de692d30c542e320a1e6c0e75a Cr-Commit-Position: refs/heads/master@{#315828}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -49 lines) Patch
M sync/engine/commit.h View 2 chunks +5 lines, -4 lines 0 comments Download
M sync/engine/commit.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M sync/engine/sync_scheduler_impl.cc View 1 chunk +1 line, -3 lines 0 comments Download
M sync/engine/sync_scheduler_unittest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M sync/engine/syncer.h View 2 chunks +5 lines, -5 lines 0 comments Download
M sync/engine/syncer.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M sync/engine/syncer_unittest.cc View 3 chunks +22 lines, -7 lines 0 comments Download
M sync/protocol/sync.proto View 1 1 chunk +7 lines, -0 lines 0 comments Download
M sync/sessions/data_type_tracker.h View 1 3 chunks +10 lines, -0 lines 0 comments Download
M sync/sessions/data_type_tracker.cc View 6 chunks +14 lines, -2 lines 0 comments Download
M sync/sessions/nudge_tracker.h View 1 chunk +4 lines, -0 lines 0 comments Download
M sync/sessions/nudge_tracker.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M sync/sessions/nudge_tracker_unittest.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M sync/sessions/test_util.h View 2 chunks +5 lines, -5 lines 0 comments Download
M sync/sessions/test_util.cc View 3 chunks +9 lines, -11 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Gang Wu
please take a look.
5 years, 10 months ago (2015-02-06 22:14:10 UTC) #2
Nicolas Zea
Nice job! I only have a couple nits, and a request: I think it would ...
5 years, 10 months ago (2015-02-06 22:37:01 UTC) #4
Gang Wu
updated base on comments. is it ok to add integration test in another CL? https://codereview.chromium.org/905853002/diff/1/sync/engine/syncer_unittest.cc ...
5 years, 10 months ago (2015-02-06 22:58:19 UTC) #5
Nicolas Zea
Fair enough, this CL is large enough as it is. LGTM
5 years, 10 months ago (2015-02-09 17:30:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/905853002/20001
5 years, 10 months ago (2015-02-09 17:57:38 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-09 18:01:49 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/21f43c5af27e24c34565df26bb51fcc704c97597 Cr-Commit-Position: refs/heads/master@{#315339}
5 years, 10 months ago (2015-02-09 18:02:32 UTC) #10
Ryan Hamilton
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/891123003/ by rch@chromium.org. ...
5 years, 10 months ago (2015-02-09 18:31:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/905853002/20001
5 years, 10 months ago (2015-02-11 20:13:57 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-11 20:44:15 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-11 20:45:02 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f951166bde5650de692d30c542e320a1e6c0e75a
Cr-Commit-Position: refs/heads/master@{#315828}

Powered by Google App Engine
This is Rietveld 408576698