Fix deadlock on shutdown by releasing the GIL during del
On delete rocksdb waits for the background thread to finish. However the background threads needs the GIL to execute python-code (for example comparator) => * main thread has GIL * main thread waits for background thread * background thread tries to get GIL which means deadlock
Loading
Please register or sign in to comment