Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kv/leveldb: fix deadlock when close db #16643

Merged
merged 1 commit into from Aug 31, 2017

Conversation

Aran85
Copy link
Contributor

@Aran85 Aran85 commented Jul 28, 2017

because db may closed when compact_thread compacting,
so the compact_queue_cond may singaled before wait,
if we dont check the compact_queue_stop,
we deadlock after compact_queue_cond.wait()!

Signed-off-by: Zengran 13121369189@126.com

because db may closed when compact_thread compacting,
so the compact_queue_cond may singaled before wait,
if we dont check the compact_queue_stop,
we deadlock after compact_queue_cond.wait()!

Signed-off-by: Zengran <13121369189@126.com>
@joscollin
Copy link
Member

Jenkins retest this please

@liewegas liewegas merged commit de4a3d2 into ceph:master Aug 31, 2017
@Aran85 Aran85 deleted the wip-mon-deadlock-on-shutdown branch September 1, 2017 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants