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

Issue 270543005: Revert 270308 "sync: Improve handling of bad UniquePositions" (Closed)

Created:
6 years, 7 months ago by raymes
Modified:
6 years, 7 months ago
Reviewers:
rlarocque
CC:
chromium-reviews
Visibility:
Public.

Description

Revert 270308 "sync: Improve handling of bad UniquePositions" Reverting due to possible build breakage: http://build.chromium.org/p/chromium.memory/buildstatus?builder=Linux%20ASan%20LSan%20Tests%20%282%29&number=2633 > sync: Improve handling of bad UniquePositions > > Makes the client assign a valid position to incoming bookmarks if the > server has not populated the required fields. This code should never be > triggered unless there is a bug in the server. This risks reordering > users' bookmarks, but that's probably preferable to a crash. > > Detects bookmarks that do not have valid position information during > database load. If these corrupted bookmarks are detected, the entire > database is declared to be corrupt. Sync will then re-download > all of the user's data, which should fix the problem. > > BUG=367247 > > Review URL: https://codereview.chromium.org/278153002 TBR=rlarocque@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270324

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -204 lines) Patch
M trunk/src/sync/engine/syncer_util.h View 2 chunks +3 lines, -6 lines 0 comments Download
M trunk/src/sync/engine/syncer_util.cc View 4 chunks +6 lines, -6 lines 0 comments Download
D trunk/src/sync/engine/syncer_util_unittest.cc View 1 chunk +0 lines, -127 lines 0 comments Download
M trunk/src/sync/internal_api/public/base/unique_position.h View 1 chunk +0 lines, -4 lines 0 comments Download
M trunk/src/sync/internal_api/public/base/unique_position.cc View 3 chunks +1 line, -10 lines 0 comments Download
M trunk/src/sync/sync_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M trunk/src/sync/syncable/directory_backing_store.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M trunk/src/sync/syncable/directory_unittest.cc View 2 chunks +0 lines, -37 lines 0 comments Download
M trunk/src/sync/syncable/syncable_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
raymes
6 years, 7 months ago (2014-05-14 03:43:47 UTC) #1
raymes
6 years, 7 months ago (2014-05-14 03:44:12 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 manually as r270324 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698