diff options
author | Yueh-Hsuan Chiang <yhchiang@fb.com> | 2014-06-19 14:53:03 -0700 |
---|---|---|
committer | Yueh-Hsuan Chiang <yhchiang@fb.com> | 2014-06-19 14:53:03 -0700 |
commit | 4f5ccfd1796d34f80121b2a6772a230fc6e6ba1d (patch) | |
tree | eb8c1031cabf68da84218d8f8fd1fed03362ca4b /db/db_test.cc | |
parent | bae495740d9077f4a7e45cf3c0e05cec6d7baeb2 (diff) |
Fixed a potential write hang
Summary:
Currently, when something badly happen in the DB::Write() while the write-queue
contains more than one element, the current design seems to forget to clean up
the queue as well as wake-up all the writers, this potentially makes rocksdb
hang on writes.
Test Plan: make all check
Reviewers: sdong, ljin, igor, haobo
Reviewed By: haobo
Subscribers: leveldb
Differential Revision: https://reviews.facebook.net/D19167
Diffstat (limited to 'db/db_test.cc')
0 files changed, 0 insertions, 0 deletions