mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Merge branch 'master' of github.com:facebook/rocksdb into show-reads
This commit is contained in:
@@ -395,7 +395,7 @@ public class DbBenchmark {
|
||||
byte[] key = new byte[keySize_];
|
||||
byte[] value = new byte[valueSize_];
|
||||
for (long i = 0; i < numEntries_; i++) {
|
||||
getRandomKey(key, numEntries_);
|
||||
getRandomKey(key, keyRange_);
|
||||
int len = db_.get(key, value);
|
||||
if (len != RocksDB.NOT_FOUND) {
|
||||
stats_.found_++;
|
||||
|
||||
Reference in New Issue
Block a user