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
History
File Mode Size
auto_roll_logger.cc -rw-r--r-- 8.9 KB
auto_roll_logger.h -rw-r--r-- 4.2 KB
auto_roll_logger_test.cc -rw-r--r-- 23.1 KB
env_logger.h -rw-r--r-- 4.6 KB
env_logger_test.cc -rw-r--r-- 4.2 KB
event_logger.cc -rw-r--r-- 1.7 KB
event_logger.h -rw-r--r-- 4.5 KB
event_logger_test.cc -rw-r--r-- 1.2 KB
log_buffer.cc -rw-r--r-- 2.4 KB
log_buffer.h -rw-r--r-- 1.7 KB
logging.h -rw-r--r-- 3.0 KB
posix_logger.h -rw-r--r-- 5.3 KB

back to top