Revision 534581a356c2cb544028c6b32179fdcba37d85fb authored by Maysam Yabandeh on 06 March 2017, 02:01:28 UTC, committed by Facebook Github Bot on 06 March 2017, 02:09:09 UTC
Summary:
Note: Using the default operator= is an unsafe approach for Options since it destructs shared_ptr in
the same order of their creation, in contrast to destructors which
destructs them in the opposite order of creation. One particular problme is
that the cache destructor might invoke callback functions that use Option
members such as statistics. To work around this problem, we manually call
destructor of table_facotry which eventually clears the block cache.
Closes https://github.com/facebook/rocksdb/pull/1950

Differential Revision: D4655473

Pulled By: maysamyabandeh

fbshipit-source-id: 6c4bbff
1 parent a2f7a51
History
File Mode Size
win
README -rw-r--r-- 405 bytes
dirent.h -rw-r--r-- 1.2 KB
likely.h -rw-r--r-- 788 bytes
port.h -rw-r--r-- 872 bytes
port_example.h -rw-r--r-- 3.7 KB
port_posix.cc -rw-r--r-- 4.7 KB
port_posix.h -rw-r--r-- 5.2 KB
stack_trace.cc -rw-r--r-- 3.5 KB
stack_trace.h -rw-r--r-- 686 bytes
sys_time.h -rw-r--r-- 1.3 KB
util_logger.h -rw-r--r-- 981 bytes
xpress.h -rw-r--r-- 725 bytes

README

back to top