rocksdb/build_tools
Peter Dillinger 35af0433cf Fix crash test with backup as read-only DB (#8161)
Summary:
Forgot to re-test crash test after adding read-only filesystem
enforcement to https://github.com/facebook/rocksdb/issues/8142. The problem is ReadOnlyFileSystem would reject
CreateDirIfMissing whenever DBOptions::create_if_missing=true. The fix
that is better for users is to allow CreateDirIfMissing in
ReadOnlyFileSystem if the directory exists, so that they don't cause a
failure on using create_if_missing with opening backups as read-only
DBs. Added this option test to the unit test (in addition to being in the
crash test).

Also fixed a couple of lints.

And some better messaging from 'make format' so that when you run it
with uncommitted changes, it's clear that it's only checking the
uncommitted changes.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8161

Test Plan: local blackbox_crash_test with amplified backup_one_in

Reviewed By: ajkr

Differential Revision: D27614409

Pulled By: pdillinger

fbshipit-source-id: 63ccb626c7e34c200d61c6bca2a8f60da9015179
2021-04-06 23:31:51 -07:00
..
amalgamate.py
build_detect_platform Pass PLATFORM_FLAGS in build_detect_platform (#8111) 2021-03-31 07:40:46 -07:00
dependencies.sh
dependencies_4.8.1.sh
dependencies_platform007.sh
dependencies_platform009.sh
dockerbuild.sh
error_filter.py
fb_compile_mongo.sh
fbcode_config.sh
fbcode_config4.8.1.sh
fbcode_config_platform007.sh
fbcode_config_platform009.sh
format-diff.sh Fix crash test with backup as read-only DB (#8161) 2021-04-06 23:31:51 -07:00
gnu_parallel
make_package.sh
precommit_checker.py
regression_build_test.sh
rocksdb-lego-determinator Add stress crash test with timestamp to lego determinator (#8104) 2021-03-24 17:58:31 -07:00
run_ci_db_test.ps1 Extract test cases correctly in run_ci_db_test.ps1 script (#7989) 2021-02-23 14:25:42 -08:00
setup_centos7.sh
update_dependencies.sh
version.sh