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

Issue 9702083: sync: Count and report reflected updates (Closed)

Created:
8 years, 9 months ago by rlarocque
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

sync: Count and report reflected updates Many of the updates a sync client receives are echoes of its own changes. This patch attempts to count how often these updates are received by comparing the version of downloaded updates against the local version. These counts are exposed locally through AllStatus/about:sync. We also upload this information to the server through the ClientDebugInfo mechanism. BUG=117565 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128659

Patch Set 1 #

Patch Set 2 : Fix unit tests #

Total comments: 11

Patch Set 3 : Review fixes #

Patch Set 4 : Fixes + Report on notifications state #

Patch Set 5 : Update comments #

Patch Set 6 : Update python test server #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -56 lines) Patch
M chrome/browser/sync/internal_api/all_status.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/debug_info_event_listener.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/js_sync_manager_observer_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M net/tools/testserver/chromiumsync.py View 1 2 3 4 5 2 chunks +4 lines, -2 lines 1 comment Download
M sync/engine/verify_updates_command.cc View 1 2 3 4 3 chunks +50 lines, -16 lines 0 comments Download
M sync/protocol/client_debug_info.proto View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
A sync/protocol/get_updates_caller_info.proto View 1 chunk +45 lines, -0 lines 0 comments Download
M sync/protocol/sync.proto View 2 chunks +1 line, -34 lines 0 comments Download
M sync/protocol/sync_proto.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M sync/sessions/session_state.h View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M sync/sessions/session_state.cc View 1 2 3 5 chunks +6 lines, -0 lines 0 comments Download
M sync/sessions/session_state_unittest.cc View 1 2 3 4 chunks +7 lines, -2 lines 0 comments Download
M sync/sessions/status_controller.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sync/sessions/status_controller.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M sync/sessions/sync_session.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rlarocque
Raz mentioned this would be nice to have. It turns out it's not too hard ...
8 years, 9 months ago (2012-03-16 22:48:09 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/9702083/diff/2001/chrome/browser/sync/internal_api/all_status.cc File chrome/browser/sync/internal_api/all_status.cc (right): http://codereview.chromium.org/9702083/diff/2001/chrome/browser/sync/internal_api/all_status.cc#newcode76 chrome/browser/sync/internal_api/all_status.cc:76: snapshot->syncer_status.num_echo_updates_downloaded_total; nit - Even though I like 'echo', we've ...
8 years, 9 months ago (2012-03-20 20:43:53 UTC) #2
rlarocque
Sorry for the delayed update. I wanted to clarify some things first. It seems that ...
8 years, 9 months ago (2012-03-21 17:42:34 UTC) #3
tim (not reviewing)
http://codereview.chromium.org/9702083/diff/2001/sync/engine/verify_updates_command.cc File sync/engine/verify_updates_command.cc (right): http://codereview.chromium.org/9702083/diff/2001/sync/engine/verify_updates_command.cc#newcode32 sync/engine/verify_updates_command.cc:32: syncable::Entry existing_entry(trans, GET_BY_ID, update.id()); On 2012/03/21 17:42:34, rlarocque wrote: ...
8 years, 9 months ago (2012-03-21 18:23:57 UTC) #4
rlarocque
I talked with Raz about what we're trying to measure. Our hypothesis is that it's ...
8 years, 9 months ago (2012-03-23 00:24:10 UTC) #5
rlarocque
Those protobuf changes made the python test server very unhappy. This version of the patch ...
8 years, 9 months ago (2012-03-23 18:16:06 UTC) #6
tim (not reviewing)
sync changes LGTM. proto changes look safe from a wire-compatibility point of view. akalin's LGTM ...
8 years, 9 months ago (2012-03-23 20:21:06 UTC) #7
akalin
testserver stuff LGTM
8 years, 9 months ago (2012-03-23 21:06:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/9702083/17003
8 years, 9 months ago (2012-03-23 21:19:36 UTC) #9
commit-bot: I haz the power
8 years, 9 months ago (2012-03-24 02:17:32 UTC) #10
Change committed as 128659

Powered by Google App Engine
This is Rietveld 408576698