Reopen DB in crash test

Summary:
Why don't we automatically reopen DB when running crash test (running in our nightly build)? If I understand correctly, crashtest is manually reopenning the DB, but then the DB does not check its consistency when you kill db_stress process and then re-run it again.
Does this make sense?

Test Plan: not reall

Reviewers: dhruba, haobo, emayanke

Reviewed By: emayanke

CC: leveldb

Differential Revision: https://reviews.facebook.net/D16167
This commit is contained in:
Igor Canadi 2014-03-03 17:10:30 -08:00
parent 1aeafeccac
commit 97eddef235
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ def main(argv):
--threads=%s
--write_buffer_size=%s
--destroy_db_initially=0
--reopen=0
--reopen=20
--readpercent=45
--prefixpercent=5
--writepercent=35

View File

@ -84,7 +84,7 @@ def main(argv):
--threads=%s
--write_buffer_size=%s
--destroy_db_initially=0
--reopen=0
--reopen=20
--readpercent=45
--prefixpercent=5
--writepercent=35