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

Issue 1825413003: leveldb_service: Attempt to fix deadlock on shutdown. (Closed)

Created:
4 years, 9 months ago by Elliot Glaysher
Modified:
4 years, 9 months ago
Reviewers:
jam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

leveldb_service: Attempt to fix hang on shutdown. On mojo connection errors, we should call WaitableEvent::Signal() on any events that are blocking the various leveldb threads. BUG=594977 Committed: https://crrev.com/16167c22ec91beec0b7cbe26d15049bbda589db3 Cr-Commit-Position: refs/heads/master@{#383112}

Patch Set 1 #

Patch Set 2 : style/lint #

Total comments: 3

Patch Set 3 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -27 lines) Patch
M components/leveldb/leveldb_database_impl.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M components/leveldb/leveldb_file_thread.h View 1 3 chunks +27 lines, -0 lines 0 comments Download
M components/leveldb/leveldb_file_thread.cc View 1 2 24 chunks +129 lines, -13 lines 0 comments Download
M components/leveldb/leveldb_service_unittest.cc View 3 chunks +7 lines, -13 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Elliot Glaysher
The problem with nondeterministic deadlocks is that you're never sure you actually fixed them. Previously, ...
4 years, 9 months ago (2016-03-23 21:46:34 UTC) #2
Elliot Glaysher
-sky, +jam
4 years, 9 months ago (2016-03-23 21:54:57 UTC) #4
jam
lgtm https://codereview.chromium.org/1825413003/diff/20001/components/leveldb/leveldb_file_thread.cc File components/leveldb/leveldb_file_thread.cc (right): https://codereview.chromium.org/1825413003/diff/20001/components/leveldb/leveldb_file_thread.cc#newcode651 components/leveldb/leveldb_file_thread.cc:651: // event. (This dependency will get cleared in ...
4 years, 9 months ago (2016-03-24 17:27:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825413003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825413003/40001
4 years, 9 months ago (2016-03-24 17:55:20 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-24 19:04:26 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 19:05:48 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/16167c22ec91beec0b7cbe26d15049bbda589db3
Cr-Commit-Position: refs/heads/master@{#383112}

Powered by Google App Engine
This is Rietveld 408576698