Skip to content

Commit

Permalink
Disable PromoteL0 in crash test
Browse files Browse the repository at this point in the history
Summary: Seeing way too many errors likely related to PromoteL0
from facebook#12617, containing
```
Cannot delete table file #N from level 0 since it is on level X
```

Test Plan: watch crash test results
  • Loading branch information
pdillinger committed May 13, 2024
1 parent b75438f commit d9f8b08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/db_crashtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
"clear_column_family_one_in": 0,
"compact_files_one_in": lambda: random.choice([1000, 1000000]),
"compact_range_one_in": lambda: random.choice([1000, 1000000]),
"promote_l0_one_in": lambda: random.choice([1000, 1000000]),
# Disabled because of various likely related failures with
# "Cannot delete table file #N from level 0 since it is on level X"
"promote_l0_one_in": 0,
"compaction_pri": random.randint(0, 4),
"key_may_exist_one_in": lambda: random.choice([100, 100000]),
"data_block_index_type": lambda: random.choice([0, 1]),
Expand Down

0 comments on commit d9f8b08

Please sign in to comment.