]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Add universal compaction to db_stress nightly build 2.2.fb v2.2
authorXing Jin <xjin@fb.com>
Wed, 21 Aug 2013 00:37:49 +0000 (17:37 -0700)
committerXing Jin <xjin@fb.com>
Wed, 21 Aug 2013 00:37:49 +0000 (17:37 -0700)
commitaf732c7ba88c14f242506b015bbd2ed95af19e79
tree1b317ca92c0dfbed5e5088befa0a276bf61f5dbd
parentb87dcae1a33cdac95cb00eef675ac3c9caa3dccc
Add universal compaction to db_stress nightly build

Summary:
Most code change in this diff is code cleanup/rewrite. The logic changes include:

(1) add universal compaction to db_crashtest2.py
(2) randomly set --test_batches_snapshots to be 0 or 1 in db_crashtest2.py. Old codes always use 1.
(3) use different tmp directory as db directory in different runs. I saw some intermittent errors in my local tests. Use of different tmp directory seems to be able to solve the issue.

Test Plan: Have run "make crashtest" for multiple times. Also run "make all check"

Reviewers: emayanke, dhruba, haobo

Reviewed By: emayanke

Differential Revision: https://reviews.facebook.net/D12369
tools/db_crashtest.py
tools/db_crashtest2.py