Revision 1f32dc7d2b6721a1fe13eb515d52e5cd6f110f59 authored by Andrew Kryczka on 14 June 2018, 00:28:31 UTC, committed by Facebook Github Bot on 14 June 2018, 00:32:04 UTC
Summary: Rebased and resubmitting #1831 on behalf of stevelittle. The problem is when a single process attempts to open the same DB twice, the second attempt fails due to LOCK file held. If the second attempt had opened the LOCK file, it'll now need to close it, and closing causes the file to be unlocked. Then, any subsequent attempt to open the DB will succeed, which is the wrong behavior. The solution was to track which files a process has locked in PosixEnv, and check those before opening a LOCK file. Fixes #1780. Closes https://github.com/facebook/rocksdb/pull/3993 Differential Revision: D8398984 Pulled By: ajkr fbshipit-source-id: 2755fe66950a0c9de63075f932f9e15768041918
1 parent 7497f99
File | Mode | Size |
---|---|---|
RocksDBCommonHelper.php | -rw-r--r-- | 11.8 KB |
amalgamate.py | -rwxr-xr-x | 4.6 KB |
build_detect_platform | -rwxr-xr-x | 21.0 KB |
cont_integration.sh | -rwxr-xr-x | 3.4 KB |
dependencies.sh | -rw-r--r-- | 2.0 KB |
dependencies_4.8.1.sh | -rw-r--r-- | 2.1 KB |
dockerbuild.sh | -rwxr-xr-x | 76 bytes |
error_filter.py | -rw-r--r-- | 5.9 KB |
fb_compile_mongo.sh | -rwxr-xr-x | 1.4 KB |
fbcode_config.sh | -rw-r--r-- | 4.5 KB |
fbcode_config4.8.1.sh | -rw-r--r-- | 3.5 KB |
format-diff.sh | -rwxr-xr-x | 3.8 KB |
gnu_parallel | -rwxr-xr-x | 238.6 KB |
make_package.sh | -rwxr-xr-x | 3.0 KB |
precommit_checker.py | -rwxr-xr-x | 5.5 KB |
regression_build_test.sh | -rwxr-xr-x | 11.3 KB |
rocksdb-lego-determinator | -rwxr-xr-x | 19.5 KB |
run_ci_db_test.ps1 | -rw-r--r-- | 14.4 KB |
setup_centos7.sh | -rwxr-xr-x | 1.0 KB |
update_dependencies.sh | -rwxr-xr-x | 3.9 KB |
version.sh | -rwxr-xr-x | 697 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...