Revision 5e9e5a4702d121e65c547b2e0ed1321e09462494 authored by Yi Wu on 09 November 2017, 03:33:12 UTC, committed by Facebook Github Bot on 09 November 2017, 03:42:22 UTC
Summary:
A race condition will happen when:
* a user thread writes a value, but it hits the write stop condition because there are too many un-flushed memtables, while holding blob_db_impl.write_mutex_.
* Flush is triggered and call flush begin listener and try to acquire blob_db_impl.write_mutex_.

Fixing it.
Closes https://github.com/facebook/rocksdb/pull/3149

Differential Revision: D6279805

Pulled By: yiwu-arbug

fbshipit-source-id: 0e3c58afb78795ebe3360a2c69e05651e3908c40
1 parent ca75f0a
History
File Mode Size
win
README -rw-r--r-- 405 bytes
dirent.h -rw-r--r-- 1.1 KB
likely.h -rw-r--r-- 750 bytes
port.h -rw-r--r-- 834 bytes
port_example.h -rw-r--r-- 3.6 KB
port_posix.cc -rw-r--r-- 5.5 KB
port_posix.h -rw-r--r-- 5.6 KB
stack_trace.cc -rw-r--r-- 3.5 KB
stack_trace.h -rw-r--r-- 648 bytes
sys_time.h -rw-r--r-- 1.2 KB
util_logger.h -rw-r--r-- 942 bytes
xpress.h -rw-r--r-- 687 bytes

README

back to top