mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-07 02:36:47 +00:00
[RocksDB] Fix unit test
Summary: fix a bug in D19047, which caused DBTest.RecoverDuringMemtableCompaction to fail. Test Plan: unit test Reviewers: sdong, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D19155
This commit is contained in:
@@ -111,6 +111,7 @@ class BlockPrefixIndex::Builder {
|
||||
if (distance <= 1) {
|
||||
prev->end_block = current->end_block;
|
||||
prev->num_blocks = prev->end_block - prev->start_block + 1;
|
||||
num_blocks_per_bucket[bucket] += (current->num_blocks + distance - 1);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user