Description[sync] Verify existence of the root when loading DirectoryBackingStore
Currently, DirectoryBackingStore::VerifyReferenceIntegrity only verifies
that all parent ids are valid. This ignores the case of a single, corrupted
root node, which can happen during first sync. This CL adds a check that the
root node exists with the expected id("r").
R=pavely@chromium.org
BUG=642690
Committed: https://crrev.com/6bc75f3306ecd9d4a3d1839b6afac4cf4c3c8d2b
Cr-Commit-Position: refs/heads/master@{#419040}
Patch Set 1 : [sync] Verify existence of the root when loading DirectoryBackingStore #
Total comments: 2
Patch Set 2 : include syncable_id, fix comment #
Messages
Total messages: 17 (12 generated)
|