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

Issue 12253010: [sync] Fix deadlock in SessionModelAssociator for Android. (Closed)

Created:
7 years, 10 months ago by nyquist
Modified:
7 years, 10 months ago
Reviewers:
Yaron, Nicolas Zea
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

[sync] Fix deadlock in SessionModelAssociator for Android. If there exists session sync nodes that use the cache GUID as the ID, Chrome for Android goes into a deadlock while associating the tabs. Since SessionModelAssociator::DeleteForeignSession uses its own syncer::WriteTransaction, we must ensure that we only call that method without currently holding a syncer::WriteTransaction. BUG=175782 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182416

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added comment explaining why we moved it out of the block #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M chrome/browser/sync/glue/session_model_associator.cc View 1 2 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nyquist
PTAL (yfriedman mostly FYI)
7 years, 10 months ago (2013-02-13 19:56:19 UTC) #1
Nicolas Zea
lgtm
7 years, 10 months ago (2013-02-13 19:57:19 UTC) #2
Yaron
lgtm https://codereview.chromium.org/12253010/diff/1/chrome/browser/sync/glue/session_model_associator.cc File chrome/browser/sync/glue/session_model_associator.cc (right): https://codereview.chromium.org/12253010/diff/1/chrome/browser/sync/glue/session_model_associator.cc#newcode682 chrome/browser/sync/glue/session_model_associator.cc:682: if (current_machine_tag_.compare(transaction_tag) != 0) While I'm not excited ...
7 years, 10 months ago (2013-02-13 21:01:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/12253010/2003
7 years, 10 months ago (2013-02-13 21:34:43 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=111536
7 years, 10 months ago (2013-02-14 00:59:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/12253010/2003
7 years, 10 months ago (2013-02-14 01:03:13 UTC) #6
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 08:15:12 UTC) #7
Message was sent while issue was closed.
Change committed as 182416

Powered by Google App Engine
This is Rietveld 408576698