Temporarily disable level_compaction_dynamic_level_bytes in crash test (#6217)

Summary:
We're seeing assertion violations like this in crash test:

db_stress: table/block_based/block_based_table_reader.cc:4129: virtual uint64_t rocksdb::BlockBasedTable::ApproximateSize(const rocksdb::Slice&, const rocksdb::Slice&, rocksdb::TableReaderCaller): Assertion `end_offset >= start_offset' failed.***

And ApproximateSize appears only to be called with the level_compaction_dynamic_level_bytes option.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6217

Test Plan:
temporarily put an assert(false) in ApproximateSize and
briefly run 'make crash_test'

Differential Revision: D19179174

Pulled By: pdillinger

fbshipit-source-id: 506e6549aea0da19b363a1a6da04373c364d92e4
This commit is contained in:
Peter Dillinger 2019-12-19 10:22:43 -08:00 committed by Facebook Github Bot
parent 5b18729d7d
commit 9ff569bdfc

View File

@ -96,7 +96,9 @@ default_params = {
"write_dbid_to_manifest" : random.randint(0, 1),
"max_write_batch_group_size_bytes" : lambda: random.choice(
[16, 64, 1024 * 1024, 16 * 1024 * 1024]),
"level_compaction_dynamic_level_bytes" : True,
# Temporarily disabled because of assertion violations in
# BlockBasedTable::ApproximateSize
# "level_compaction_dynamic_level_bytes" : True,
"verify_checksum_one_in": 1000000
}