Revision 5a61e7864d04e7e72b62749ca07bdb94af85ca87 authored by Yanqin Jin on 05 May 2020, 00:43:33 UTC, committed by Facebook GitHub Bot on 05 May 2020, 00:45:49 UTC
Summary: Current impl. of db_stress will abort verification and report failure if GetLiveFiles() causes a dropped column family to be flushed. This is not desired. To fix, this PR makes the following change: In GetLiveFiles, if flush is triggered and returns Status::IsColumnFamilyDropped(), then set status to Status::OK(). This is OK because dropped column families will be skipped during the rest of this function, and valid column families will have their live files returned to caller. Test plan (dev server): make check ./db_stress -ops_per_thread=1000 -get_live_files_one_in=100 -clear_column_family_one_in=100 ./db_stress -disable_wal=1 -reopen=0 -ops_per_thread=1000 -get_live_files_one_in=100 -clear_column_family_one_in=100 Pull Request resolved: https://github.com/facebook/rocksdb/pull/6805 Reviewed By: ltamasi Differential Revision: D21390044 Pulled By: riversand963 fbshipit-source-id: de67846b95a4f1b88aa0a30c3d70c43cc68625b9
1 parent a00ddf1
File | Mode | Size |
---|---|---|
_data | ||
_docs | ||
_includes | ||
_layouts | ||
_posts | ||
_sass | ||
_top-level | ||
blog | ||
css | ||
doc-type-examples | ||
docs | ||
static | ||
.gitignore | -rw-r--r-- | 56 bytes |
CNAME | -rw-r--r-- | 11 bytes |
CONTRIBUTING.md | -rw-r--r-- | 4.7 KB |
Gemfile | -rw-r--r-- | 59 bytes |
Gemfile.lock | -rw-r--r-- | 3.5 KB |
LICENSE-DOCUMENTATION | -rw-r--r-- | 17.7 KB |
README.md | -rw-r--r-- | 3.1 KB |
TEMPLATE-INFORMATION.md | -rw-r--r-- | 2.5 KB |
_config.yml | -rw-r--r-- | 2.8 KB |
feed.xml | -rw-r--r-- | 1.2 KB |
index.md | -rw-r--r-- | 174 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...