-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Sometimes, a deadlock occurs when manual compaction. #607
Comments
Is this the only thread? Can you send the stacks of other threads? Can you send us your LOG file? |
threads have the some stacks . The WARN LOG is the rocksdb options about flush and compaction are why does rocksdb stop flush immutable memtables to sst ? |
This has been solved in 3.11 release (b0fdda4 is the commit). Can you please try verifying if this has been solved for you? |
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed. |
@superwood I hope your issue is resolved with b0fdda4 . |
All the read and write opertion are blocked 。 the process seems deadlock.
There is the thread stack info
#0 0x0000003864a0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000050468d in rocksdb::port::CondVar::Wait (this=Unhandled dwarf expression opcode 0xf3
) at port/port_posix.cc:83
#2 0x00000000005365d5 in WaitInternal (this=0x7f6aa95e5448) at util/instrumented_mutex.cc:50
#3 rocksdb::InstrumentedCondVar::Wait (this=0x7f6aa95e5448) at util/instrumented_mutex.cc:38
#4 0x0000000000503855 in rocksdb::WriteThread::EnterWriteThread (this=0x11682a8, w=, expiration_time=0) at db/write_thread.cc:22
#5 0x00000000004c74b3 in rocksdb::DBImpl::Write (this=0x1168000, write_options=..., my_batch=0x7f6aa95e5688) at db/db_impl.cc:3044
The text was updated successfully, but these errors were encountered: