DescriptionMake client tag IDs consistent in sync fake server
Modifies the sync fake server so it derives the IDs for client-tagged
items based on their model type and unique client tag.
This fixes a race where two clients could simultaneously commit two
client-tagged items with version == 0, and the two committed items would
be assigned different IDs. The correct behavior, and that of the real
sync server, is to assign the same IDs to items that have the same
client tags.
BUG=396859
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285415
Patch Set 1 #
Total comments: 4
Patch Set 2 : Simplify unique client entity creation #Patch Set 3 : Change FakeServer ID separator #
Total comments: 2
Patch Set 4 : Add comment #
Messages
Total messages: 11 (0 generated)
|