Revision 6cab3184f515b037b3b57de7deabb49e058a253a authored by Zhongyi Xie on 01 May 2018, 22:42:06 UTC, committed by Facebook Github Bot on 01 May 2018, 23:01:28 UTC
Summary:
When the dummy record insertion fails, there is no need to explicitly delete the block as it will be registered for cleanup regardless.
Closes https://github.com/facebook/rocksdb/pull/3688

Differential Revision: D7537741

Pulled By: miasantreble

fbshipit-source-id: fcd3a3d3d382ee8e2c7ced0a4980e683d93a16d6
1 parent acb61b7
History
File Mode Size
env.cc -rw-r--r-- 11.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-- 33.1 KB
env_hdfs.cc -rw-r--r-- 18.6 KB
env_posix.cc -rw-r--r-- 32.4 KB
env_test.cc -rw-r--r-- 51.5 KB
io_posix.cc -rw-r--r-- 29.3 KB
io_posix.h -rw-r--r-- 8.4 KB
mock_env.cc -rw-r--r-- 20.7 KB
mock_env.h -rw-r--r-- 4.1 KB
mock_env_test.cc -rw-r--r-- 2.6 KB
posix_logger.h -rw-r--r-- 5.3 KB

back to top