https://github.com/facebook/rocksdb
Revision bf09c048f3449135339dd52d7bd16820b1a51389 authored by Sage Weil on 28 September 2016, 17:55:50 UTC, committed by Sage Weil on 28 September 2016, 17:55:50 UTC
The lifecycle rules for Env are frustrating and undocumented. Notably, Env::Default() should *not* be freed, but any Env instances we created should be. Explicitly instruct EnvMirror whether to clean up child Env instances. Default to false so that we do not affect existing callers. Signed-off-by: Sage Weil <sage@redhat.com>
1 parent 49a41f3
Tip revision: bf09c048f3449135339dd52d7bd16820b1a51389 authored by Sage Weil on 28 September 2016, 17:55:50 UTC
env_mirror: instruct EnvMirror whether mirrored Envs should be destroyed
env_mirror: instruct EnvMirror whether mirrored Envs should be destroyed
Tip revision: bf09c04
File | Mode | Size |
---|---|---|
arcanist_util | ||
build_tools | ||
coverage | ||
db | ||
docs | ||
examples | ||
hdfs | ||
include | ||
java | ||
memtable | ||
port | ||
table | ||
third-party | ||
tools | ||
util | ||
utilities | ||
.arcconfig | -rw-r--r-- | 564 bytes |
.clang-format | -rw-r--r-- | 138 bytes |
.gitignore | -rw-r--r-- | 680 bytes |
.travis.yml | -rw-r--r-- | 1.5 KB |
AUTHORS | -rw-r--r-- | 247 bytes |
CMakeLists.txt | -rw-r--r-- | 18.6 KB |
CONTRIBUTING.md | -rw-r--r-- | 733 bytes |
DEFAULT_OPTIONS_HISTORY.md | -rw-r--r-- | 1.1 KB |
DUMP_FORMAT.md | -rw-r--r-- | 763 bytes |
HISTORY.md | -rw-r--r-- | 36.3 KB |
INSTALL.md | -rw-r--r-- | 3.9 KB |
LANGUAGE-BINDINGS.md | -rw-r--r-- | 646 bytes |
LICENSE | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 48.2 KB |
PATENTS | -rw-r--r-- | 1.9 KB |
README.md | -rw-r--r-- | 1.4 KB |
ROCKSDB_LITE.md | -rw-r--r-- | 1.0 KB |
USERS.md | -rw-r--r-- | 4.5 KB |
Vagrantfile | -rw-r--r-- | 862 bytes |
WINDOWS_PORT.md | -rw-r--r-- | 12.5 KB |
appveyor.yml | -rw-r--r-- | 555 bytes |
src.mk | -rw-r--r-- | 23.3 KB |
thirdparty.inc | -rw-r--r-- | 7.8 KB |
Computing file changes ...