facebook / rocksdb

A library that provides an embeddable, persistent key-value store for fast storage.
http://rocksdb.org
GNU General Public License v2.0
28.37k stars 6.29k forks source link

Block cache analysis error #11591

Open wanghanrong9841 opened 1 year ago

wanghanrong9841 commented 1 year ago

I run Block cache analysis follow the guide Block cache analysis and simulation tools

When running: ./block_cache_trace_analyzer \ -block_cache_trace_path=/tmp/binary_trace_test_example \ -human_readable_trace_file_path=/tmp/human_readable_block_trace_test_example

I got /rocksdb/tools/block_cache_analyzer/block_cache_trace_analyzer.h:71: void rocksdb::BlockAccessInfo::AddAccess(const rocksdb::BlockCacheTraceRecord&, uint64_t): Assertion `block_size == access.block_size' failed.

Anyone know how to solve it?

CSTGluigi commented 6 months ago

Have you solved it? i ran into same result