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
File | Mode | Size |
---|---|---|
env.cc | -rw-r--r-- | 10.3 KB |
env_basic_test.cc | -rw-r--r-- | 12.6 KB |
env_chroot.cc | -rw-r--r-- | 12.0 KB |
env_chroot.h | -rw-r--r-- | 684 bytes |
env_encryption.cc | -rw-r--r-- | 32.8 KB |
env_hdfs.cc | -rw-r--r-- | 18.3 KB |
env_posix.cc | -rw-r--r-- | 30.4 KB |
env_test.cc | -rw-r--r-- | 46.6 KB |
io_posix.cc | -rw-r--r-- | 28.3 KB |
io_posix.h | -rw-r--r-- | 8.1 KB |
mock_env.cc | -rw-r--r-- | 20.8 KB |
mock_env.h | -rw-r--r-- | 4.2 KB |
mock_env_test.cc | -rw-r--r-- | 2.6 KB |
posix_logger.h | -rw-r--r-- | 4.9 KB |
Computing file changes ...