Revision aeaba07b2a85771b8f3261eae984281516585abd authored by Siying Dong on 01 May 2017, 23:05:21 UTC, committed by Facebook Github Bot on 01 May 2017, 23:35:15 UTC
Summary:
ColumnFamilyData::ConstructNewMemtable is called out of DB mutex, and it asserts current_ is not empty, but current_ should only be accessed inside DB mutex. Remove this assert to make TSAN happy.
Closes https://github.com/facebook/rocksdb/pull/2235

Differential Revision: D4978531

Pulled By: siying

fbshipit-source-id: 423685a7dae88ed3faaa9e1b9ccb3427ac704a4b
1 parent 0b90aa9
History
File Mode Size
env.cc -rw-r--r-- 10.0 KB
env_basic_test.cc -rw-r--r-- 12.6 KB
env_chroot.cc -rw-r--r-- 12.1 KB
env_chroot.h -rw-r--r-- 857 bytes
env_hdfs.cc -rw-r--r-- 18.5 KB
env_posix.cc -rw-r--r-- 28.1 KB
env_test.cc -rw-r--r-- 46.6 KB
io_posix.cc -rw-r--r-- 26.2 KB
io_posix.h -rw-r--r-- 7.8 KB
memenv.cc -rw-r--r-- 11.4 KB
mock_env.cc -rw-r--r-- 20.5 KB
mock_env.h -rw-r--r-- 4.3 KB
mock_env_test.cc -rw-r--r-- 2.6 KB
posix_logger.h -rw-r--r-- 5.1 KB

back to top