]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
[RocksDB] add back --mmap_read options to crashtest
authorHaobo Xu <haobo@fb.com>
Wed, 19 Jun 2013 20:32:03 +0000 (13:32 -0700)
committerHaobo Xu <haobo@fb.com>
Wed, 19 Jun 2013 23:15:59 +0000 (16:15 -0700)
Summary: As title, now that db_stress supports --map_read properly

Test Plan: make crash_test

Reviewers: vamsi, emayanke, dhruba

CC: leveldb
Differential Revision: https://reviews.facebook.net/D11391

tools/db_crashtest.py
tools/db_crashtest2.py

index e73664cd32735f01ee8f2eeef6d2cd410f6f4563..0f58037131c1611ac7d3b3a066d6316270abdff2 100644 (file)
@@ -66,6 +66,7 @@ def main(argv):
         run_had_errors = False
         additional_opts = ' --disable_seek_compaction=' + \
                           str(random.randint(0, 1)) + \
+                          ' --mmap_read=' + str(random.randint(0, 1)) + \
                           ' --block_size=16384 ' + \
                           ' --cache_size=1048576 ' + \
                           ' --open_files=500000 ' + \
index 704ec2e20e75fbefcc002ecc1ed9b3794d6e2545..de599f1b59bc463edc71ad02612a16f1748af6d1 100644 (file)
@@ -71,6 +71,7 @@ def main(argv):
         run_had_errors = False
         additional_opts = ' --disable_seek_compaction=' + \
                           str(random.randint(0, 1)) + \
+                          ' --mmap_read=' + str(random.randint(0, 1)) + \
                           ' --block_size=16384 ' + \
                           ' --cache_size=1048576 ' + \
                           ' --open_files=500000 ' + \