Revision 4e0dcd36dfcf3109c4a8ede9c793bc8b1f76e68b authored by sdong on 19 November 2019, 21:15:40 UTC, committed by Facebook Github Bot on 19 November 2019, 21:17:03 UTC
Summary: Recently, a bug was found related to a seek key that is close to SST file boundary. However, it only occurs in a very small chance in db_stress, because the chance that a random key hits SST file boundaries is small. To boost the chance, with 1/16 chance, we pick keys that are close to SST file boundaries. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6037 Test Plan: Did some manual printing out, and hack to cover the key generation logic to be correct. Differential Revision: D18598476 fbshipit-source-id: 13b76687d106c5be4e3e02a0c77fa5578105a071
1 parent 20b48c6
File | Mode | Size |
---|---|---|
cf_options.cc | -rw-r--r-- | 10.3 KB |
cf_options.h | -rw-r--r-- | 8.8 KB |
db_options.cc | -rw-r--r-- | 15.5 KB |
db_options.h | -rw-r--r-- | 3.4 KB |
options.cc | -rw-r--r-- | 25.6 KB |
options_helper.cc | -rw-r--r-- | 91.8 KB |
options_helper.h | -rw-r--r-- | 9.0 KB |
options_parser.cc | -rw-r--r-- | 29.9 KB |
options_parser.h | -rw-r--r-- | 5.1 KB |
options_sanity_check.cc | -rw-r--r-- | 1.1 KB |
options_sanity_check.h | -rw-r--r-- | 1.7 KB |
options_settable_test.cc | -rw-r--r-- | 21.6 KB |
options_test.cc | -rw-r--r-- | 78.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...