|
|
Chromium Code Reviews
Description[Sync] NonBlocking type registration clear instead of crashes when also registered as pssive.
BUG=634388
Committed: https://crrev.com/49c3f34edcbac33f3ad22dad393a6dfd2123c645
Cr-Commit-Position: refs/heads/master@{#419892}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Removing testing hack. #Patch Set 3 : Removing tuple, didn't realize ModelSafeRoutingInfo was a std::map. #
Messages
Total messages: 31 (19 generated)
The CQ bit was checked by skym@chromium.org to run a CQ dry run
Description was changed from ========== [Sync] NonBlocking type registration clear instead of crashes when also registered as pssive. BUG=634388 ========== to ========== [Sync] NonBlocking type registration clear instead of crashes when also registered as pssive. BUG=634388 ==========
skym@chromium.org changed reviewers: + gangwu@chromium.org, maxbogue@chromium.org, pavely@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
PTAL
The CQ bit was checked by skym@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Fixing upload. https://codereview.chromium.org/2342353004/diff/1/components/sync/driver/glue... File components/sync/driver/glue/sync_backend_registrar.cc (right): https://codereview.chromium.org/2342353004/diff/1/components/sync/driver/glue... components/sync/driver/glue/sync_backend_registrar.cc:70: // last_configured_types_.Remove(type); Whhhhooops. Was making sure that commenting this line out broke unit tests, and somehow it made it into uploaded copy. Fixing.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...)
The CQ bit was checked by skym@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Sky, could you change the logic with assumption that SetInitialTypes is always called before RegisterNonBlockingType. Your changes in RegisterNonBlockingType will stay the same, code in SetInitialTypes should check that non_blocking_types_ is empty and then put all types into passive group. You'll need to switch order of calls to these functions in unittest.
On 2016/09/20 01:06:52, pavely wrote: > Sky, could you change the logic with assumption that SetInitialTypes is always > called before RegisterNonBlockingType. Your changes in RegisterNonBlockingType > will stay the same, code in SetInitialTypes should check that > non_blocking_types_ is empty and then put all types into passive group. You'll > need to switch order of calls to these functions in unittest. We talked about this in person. Lets leave it like this for now, knowing that there are refactorings in our near future, even though the chances of changing the SetInitialTypes -> RegisterNonBlockingType ordering is slim.
lgtm
The CQ bit was checked by skym@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by skym@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by skym@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [Sync] NonBlocking type registration clear instead of crashes when also registered as pssive. BUG=634388 ========== to ========== [Sync] NonBlocking type registration clear instead of crashes when also registered as pssive. BUG=634388 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== [Sync] NonBlocking type registration clear instead of crashes when also registered as pssive. BUG=634388 ========== to ========== [Sync] NonBlocking type registration clear instead of crashes when also registered as pssive. BUG=634388 Committed: https://crrev.com/49c3f34edcbac33f3ad22dad393a6dfd2123c645 Cr-Commit-Position: refs/heads/master@{#419892} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/49c3f34edcbac33f3ad22dad393a6dfd2123c645 Cr-Commit-Position: refs/heads/master@{#419892} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
