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

Issue 2895933003: [Sync] Stop setting SyncEntity.insert_after_item_id in client (Closed)

Created:
3 years, 7 months ago by pavely
Modified:
3 years, 7 months ago
Reviewers:
Patrick Noland
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Stop setting SyncEntity.insert_after_item_id in client Currently client sets insert_after_item_id, but doesn't properly order commit entries with respect to this field. It causes commit to fail on the server under certain conditions: - Two new sibling bookmarks are committed - They get broken into different commit messages with second bookmark being sent in the first message In this case server either expects server id in the field or bookmark being referred to in insert_after_item_id being present in the same message. This field was deprecated since before M26, therefore I'm simply removing the code that sets this field on the client. BUG=722487 R=pnoland@chromium.org Review-Url: https://codereview.chromium.org/2895933003 Cr-Commit-Position: refs/heads/master@{#473721} Committed: https://chromium.googlesource.com/chromium/src/+/ab5c383a79f5d3ca96239215dd56d81f033f2f8c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -6 lines) Patch
M components/sync/engine_impl/commit_util.cc View 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
pavely
3 years, 7 months ago (2017-05-22 18:59:35 UTC) #3
Patrick Noland
lgtm
3 years, 7 months ago (2017-05-22 21:58:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2895933003/1
3 years, 7 months ago (2017-05-22 22:06:25 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 22:12:55 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ab5c383a79f5d3ca96239215dd56...

Powered by Google App Engine
This is Rietveld 408576698