https://github.com/facebook/rocksdb
Revision 0ccaba2a05db5c5930018d0d78775f29ba622e16 authored by Yi Wu on 23 May 2017, 17:32:02 UTC, committed by Yi Wu on 23 May 2017, 19:27:53 UTC
Summary: rocksdb.estimate-num-keys is compute from `estimate_num_keys - 2 * estimate_num_deletes`. If `2 * estimate_num_deletes > estimate_num_keys` it will underflow. Fixing it. Closes https://github.com/facebook/rocksdb/pull/2348 Differential Revision: D5109272 Pulled By: yiwu-arbug fbshipit-source-id: e1bfb91346a59b7282a282b615002507e9d7c246
1 parent 4646cd4
Tip revision: 0ccaba2a05db5c5930018d0d78775f29ba622e16 authored by Yi Wu on 23 May 2017, 17:32:02 UTC
Fix rocksdb.estimate-num-keys DB property underflow
Fix rocksdb.estimate-num-keys DB property underflow
Tip revision: 0ccaba2
File | Mode | Size |
---|---|---|
win | ||
README | -rw-r--r-- | 405 bytes |
dirent.h | -rw-r--r-- | 1.2 KB |
likely.h | -rw-r--r-- | 788 bytes |
port.h | -rw-r--r-- | 872 bytes |
port_example.h | -rw-r--r-- | 3.7 KB |
port_posix.cc | -rw-r--r-- | 4.7 KB |
port_posix.h | -rw-r--r-- | 5.2 KB |
stack_trace.cc | -rw-r--r-- | 3.5 KB |
stack_trace.h | -rw-r--r-- | 686 bytes |
sys_time.h | -rw-r--r-- | 1.3 KB |
util_logger.h | -rw-r--r-- | 980 bytes |
xpress.h | -rw-r--r-- | 725 bytes |
Computing file changes ...