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
main
Peter Dillinger 5 years ago committed by Facebook Github Bot
parent 5b18729d7d
commit 9ff569bdfc
  1. 4
      tools/db_crashtest.py

@ -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
}

Loading…
Cancel
Save